diff options
Diffstat (limited to 'Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp')
-rw-r--r-- | Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp b/Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp index 91d962e90..7d19da5d2 100644 --- a/Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp +++ b/Source/WebKit2/UIProcess/qt/WebFullScreenManagerProxyQt.cpp @@ -26,16 +26,21 @@ #include "WebFullScreenManagerMessages.h" #include "WebFullScreenManagerProxyMessages.h" #include "WebProcess.h" -#include "qquickwebview_p.h" #include <WebCore/NotImplemented.h> +#if HAVE(QTQUICK) +#include "qquickwebview_p.h" +#endif + using namespace WebCore; namespace WebKit { void WebFullScreenManagerProxy::invalidate() { +#if HAVE(QTQUICK) m_webView = 0; +#endif } void WebFullScreenManagerProxy::close() @@ -52,14 +57,18 @@ bool WebFullScreenManagerProxy::isFullScreen() void WebFullScreenManagerProxy::enterFullScreen() { willEnterFullScreen(); +#if HAVE(QTQUICK) emit m_webView->experimental()->enterFullScreenRequested(); +#endif didEnterFullScreen(); } void WebFullScreenManagerProxy::exitFullScreen() { willExitFullScreen(); +#if HAVE(QTQUICK) emit m_webView->experimental()->exitFullScreenRequested(); +#endif didExitFullScreen(); } |