2011-01-17 Yi Shen <yi.4.shen@nokia.com>
[WebKit-https.git] / Source / WebKit / qt / WebCoreSupport / QtPlatformPlugin.cpp
index e4b89b4..ea56134 100644 (file)
@@ -127,4 +127,12 @@ QWebTouchModifier* QtPlatformPlugin::createTouchModifier()
     return p ? static_cast<QWebTouchModifier*>(p->createExtension(QWebKitPlatformPlugin::TouchInteraction)) : 0;
 }
 
+#if ENABLE(VIDEO) && ENABLE(QT_MULTIMEDIA)
+QWebFullScreenVideoHandler* QtPlatformPlugin::createFullScreenVideoHandler()
+{
+    QWebKitPlatformPlugin* p = plugin();
+    return p ? static_cast<QWebFullScreenVideoHandler*>(p->createExtension(QWebKitPlatformPlugin::FullScreenVideoPlayer)) : 0;
+}
+#endif
+
 }