Fix fullscreen support with GStreamer
authorAllan Sandfeld Jensen <allan.jensen@digia.com>
Mon, 4 Nov 2013 14:43:23 +0000 (15:43 +0100)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 7 Nov 2013 19:53:27 +0000 (20:53 +0100)
commit8c7a7606acbb2083c8077cce57054f43744cb1c0
tree0308d264d84f47cea3e45f08d667e94e2413aca9
parentdddffcaa55bd617159b77e48031e81ef464b358b
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