Chromium Code Reviews| Index: content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| diff --git a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| index e24c48b3534469ba1d680a0d2196b2d74ef97097..4ec241f6b6ff1bb401c4739e4d75fac9c94e76b6 100644 |
| --- a/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| +++ b/content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java |
| @@ -3168,6 +3168,10 @@ public class ContentViewCore |
| } |
| } |
| + public void disableMediaAutoplay() { |
|
David Trainor- moved to gerrit
2013/11/26 18:59:32
javadocs. Related to earlier comment: might be cl
Ted C
2013/11/26 19:24:29
Agreed
apiccion
2013/12/03 02:29:19
Done.
|
| + nativeDisableMediaAutoplay(mNativeContentViewCore); |
| + } |
| + |
| private boolean onAnimate(long frameTimeMicros) { |
| if (mNativeContentViewCore == 0) return false; |
| return nativeOnAnimate(mNativeContentViewCore, frameTimeMicros); |
| @@ -3388,6 +3392,8 @@ public class ContentViewCore |
| private native void nativeDetachExternalVideoSurface( |
| long nativeContentViewCoreImpl, int playerId); |
| + private native void nativeDisableMediaAutoplay(long nativeContentViewCoreImpl); |
| + |
| private native void nativeSetAccessibilityEnabled( |
| long nativeContentViewCoreImpl, boolean enabled); |