Chromium Code Reviews| Index: android_webview/java/src/org/chromium/android_webview/AwContents.java |
| diff --git a/android_webview/java/src/org/chromium/android_webview/AwContents.java b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
| index 65d815924c7e950517e8fcde222ed5a0bdff2aad..38659ef2bc5b9d31c88db74268f9289c7c28a56c 100644 |
| --- a/android_webview/java/src/org/chromium/android_webview/AwContents.java |
| +++ b/android_webview/java/src/org/chromium/android_webview/AwContents.java |
| @@ -1264,6 +1264,10 @@ public class AwContents implements SmartClipProvider, |
| nativeSetShouldDownloadFavicons(); |
| } |
| + public static boolean isUnifiedMediaPipelineEnabled() { |
|
boliu
2016/07/22 22:57:31
going through AwContents makes no sense here
can
Tima Vaisburd
2016/07/23 00:07:27
Thank you, will do.
Tima Vaisburd
2016/07/23 03:50:58
Hm, I could not find a good place in media/base/an
liberato (no reviews please)
2016/07/25 15:43:28
i think that MediaCodecUtils is fine. if we don't
|
| + return nativeIsUnifiedMediaPipelineEnabled(); |
| + } |
| + |
| public static Activity activityFromContext(Context context) { |
| return WindowAndroid.activityFromContext(context); |
| } |
| @@ -3281,6 +3285,7 @@ public class AwContents implements SmartClipProvider, |
| private static native int nativeGetNativeInstanceCount(); |
| private static native void nativeSetShouldDownloadFavicons(); |
| private static native void nativeSetLocale(String locale); |
| + private static native boolean nativeIsUnifiedMediaPipelineEnabled(); |
| private native void nativeSetJavaPeers(long nativeAwContents, AwContents awContents, |
| AwWebContentsDelegate webViewWebContentsDelegate, |