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); |
joth
2013/05/21 23:56:08
nit: in java one line if must be all on one line.
wjia(left Chromium)
2013/05/22 02:17:51
Done.
|
+ } |
+ |
public static ContentVideoView getContentVideoView() { |
return sContentVideoView; |
} |
public static void registerContentVideoViewContextDelegate( |
- ContentVideoViewContextDelegate delegate) { |
+ ContentVideoViewContextDelegate delegate) { |
sDelegate = delegate; |
} |