Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2389)

Unified Diff: android_webview/java/src/org/chromium/android_webview/AwContents.java

Issue 2154883003: Make ContentVideoView progress view visible in WebView (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Take into account whether Spitzer is enabled Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,
« no previous file with comments | « android_webview/java/src/org/chromium/android_webview/AwContentViewClient.java ('k') | android_webview/native/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698