Upstream version 7.35.139.0
[platform/framework/web/crosswalk.git] / src / content / public / android / java / src / org / chromium / content / browser / ActivityContentVideoViewClient.java
index 95571cb..6acf8dc 100644 (file)
@@ -23,7 +23,7 @@ public class ActivityContentVideoViewClient implements ContentVideoViewClient {
     }
 
     @Override
-    public void onShowCustomView(View view) {
+    public boolean onShowCustomView(View view) {
         mActivity.getWindow().setFlags(
                 WindowManager.LayoutParams.FLAG_FULLSCREEN,
                 WindowManager.LayoutParams.FLAG_FULLSCREEN);
@@ -34,6 +34,7 @@ public class ActivityContentVideoViewClient implements ContentVideoViewClient {
                         ViewGroup.LayoutParams.MATCH_PARENT,
                         Gravity.CENTER));
         mView = view;
+        return true;
     }
 
     @Override