Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / shell / android / java / src / org / chromium / content_shell / ShellManager.java
index 2ebbcb3..1dfc60a 100644 (file)
@@ -49,15 +49,14 @@ public class ShellManager extends FrameLayout {
             public ContentVideoViewClient getContentVideoViewClient() {
                 return new ActivityContentVideoViewClient((Activity) context) {
                     @Override
-                    public boolean onShowCustomView(View view) {
-                        boolean success = super.onShowCustomView(view);
+                    public void enterFullscreenVideo(View view) {
+                        super.enterFullscreenVideo(view);
                         setOverlayVideoMode(true);
-                        return success;
                     }
 
                     @Override
-                    public void onDestroyContentVideoView() {
-                        super.onDestroyContentVideoView();
+                    public void exitFullscreenVideo() {
+                        super.exitFullscreenVideo();
                         setOverlayVideoMode(false);
                     }
                 };