Fix fullscreen support with GStreamer
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Mon, 4 Nov 2013 14:43:23 +0000 (15:43 +0100)
committerAllan Sandfeld Jensen <allan.jensen@digia.com>
Tue, 12 Nov 2013 15:54:03 +0000 (16:54 +0100)
commitf63a205e734763953fbe89434ff9f25c4f65ed32
tree9cccc1692d4aeb23ec82399c9a2588a5bf7f4fc5
parentec2fbfe3d914f41fdd49d6c68b6941b2a35c1523
Fix fullscreen support with GStreamer

Fullscreen support has not been working with GStreamer since Qt 4.8,
the issue was the native fullscreen window was not fully ported, and
was affected by some bitrot.

This patch fixes the native fullscreen window for GStreamer, ensures the
fullscreen options are available on WebKit1, and adds a context menu and
web action to toggle fullscreen mode.

Change-Id: I9c6c5a1e36fbbc8e1d1fae371bdf9abc1aee7775
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
13 files changed:
Source/WebCore/Target.pri
Source/WebCore/page/ContextMenuController.cpp
Source/WebCore/platform/LocalizedStrings.h
Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowPrivate.h
Source/WebCore/platform/graphics/gstreamer/PlatformVideoWindowQt.cpp
Source/WebCore/platform/qt/LocalizedStringsQt.cpp
Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.cpp
Source/WebKit/qt/WebCoreSupport/FullScreenVideoQt.h
Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp
Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.h
Source/WebKit/qt/WidgetApi/qwebpage.cpp
Source/WebKit/qt/WidgetApi/qwebpage.h
Tools/qmake/mkspecs/features/features.prf