Index: content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java |
=================================================================== |
--- content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java (revision 201139) |
+++ content/public/android/java/src/org/chromium/content/browser/ContentVideoView.java (working copy) |
@@ -592,12 +592,18 @@ |
sContentVideoView = null; |
} |
+ @CalledByNative |
+ public static void keepScreenOnContentVideoView(boolean screenOn) { |
+ if (sDelegate != null) |
+ sDelegate.keepScreenOn(screenOn); |
+ } |
+ |
public static ContentVideoView getContentVideoView() { |
return sContentVideoView; |
} |
public static void registerContentVideoViewContextDelegate( |
- ContentVideoViewContextDelegate delegate) { |
+ ContentVideoViewContextDelegate delegate) { |
sDelegate = delegate; |
} |