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

Unified Diff: chrome/browser/android/chrome_web_contents_delegate_android.cc

Issue 896673003: Propagate audible state from player to the containing tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments by Daniel and Min Created 5 years, 10 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: chrome/browser/android/chrome_web_contents_delegate_android.cc
diff --git a/chrome/browser/android/chrome_web_contents_delegate_android.cc b/chrome/browser/android/chrome_web_contents_delegate_android.cc
index 8194f89dd8baf4708623f6c9cc3eed655ee8e84e..7a141d0b880ca37af79b29df5df076f3dd21bc4a 100644
--- a/chrome/browser/android/chrome_web_contents_delegate_android.cc
+++ b/chrome/browser/android/chrome_web_contents_delegate_android.cc
@@ -43,6 +43,7 @@ using base::android::AttachCurrentThread;
using base::android::ScopedJavaLocalRef;
using content::FileChooserParams;
using content::WebContents;
+using content::WebContentsImpl;
namespace {
@@ -371,3 +372,8 @@ jboolean IsCapturingVideo(JNIEnv* env,
return indicator->IsCapturingVideo(web_contents);
}
+jboolean IsPlayingAudio(JNIEnv* env,
+ jclass clazz,
+ jobject java_web_contents) {
+ return false; // not implemented
+}

Powered by Google App Engine
This is Rietveld 408576698