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

Unified Diff: android_webview/native/aw_contents.cc

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/native/aw_contents.cc
diff --git a/android_webview/native/aw_contents.cc b/android_webview/native/aw_contents.cc
index 9d01a230840662c5a2f6af9d52cfdf83b4ee4541..d175ac000a4715a9e9985ad815112fd7bd401f02 100644
--- a/android_webview/native/aw_contents.cc
+++ b/android_webview/native/aw_contents.cc
@@ -73,6 +73,7 @@
#include "content/public/common/renderer_preferences.h"
#include "content/public/common/ssl_status.h"
#include "jni/AwContents_jni.h"
+#include "media/base/media.h"
#include "net/base/auth.h"
#include "net/cert/x509_certificate.h"
#include "third_party/skia/include/core/SkPicture.h"
@@ -368,6 +369,11 @@ static void SetAwDrawGLFunctionTable(JNIEnv* env,
const JavaParamRef<jclass>&,
jlong function_table) {}
+static jboolean IsUnifiedMediaPipelineEnabled(JNIEnv* env,
+ const JavaParamRef<jclass>&) {
+ return media::IsUnifiedMediaPipelineEnabled();
+}
+
// static
jint GetNativeInstanceCount(JNIEnv* env, const JavaParamRef<jclass>&) {
return base::subtle::NoBarrier_Load(&g_instance_count);

Powered by Google App Engine
This is Rietveld 408576698