Upstream version 6.34.113.0
[platform/framework/web/crosswalk.git] / src / xwalk / runtime / android / core / src / org / xwalk / core / XWalkContent.java
index b4fe314..18cb146 100644 (file)
@@ -356,6 +356,11 @@ public class XWalkContent extends FrameLayout {
         loadUrl(url);
     }
 
+    @CalledByNative
+    public void onGetFullscreenFlagFromManifest(boolean enterFullscreen) {
+        if (enterFullscreen) getXWalkWebChromeClient().onToggleFullscreen(true);
+    }
+
     public void destroy() {
         if (mXWalkContent == 0) return;