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

Unified Diff: chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java

Issue 896673003: Propagate audible state from player to the containing tab (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Excluded AudioStreamMonitor unittest on Android 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/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java
diff --git a/chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java b/chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java
index 316852ab056c707e20e23d22c0dfbe19ef6c8ddb..8e69a0f106853ff1bf18a6fce106c1ff1d5f8451 100644
--- a/chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java
+++ b/chrome/android/java/src/org/chromium/chrome/browser/ChromeWebContentsDelegateAndroid.java
@@ -71,4 +71,5 @@ public class ChromeWebContentsDelegateAndroid extends WebContentsDelegateAndroid
protected static native boolean nativeIsCapturingAudio(WebContents webContents);
protected static native boolean nativeIsCapturingVideo(WebContents webContents);
+ protected static native boolean nativeIsPlayingAudio(WebContents webContents);
qinmin 2015/03/02 22:55:41 The function name isn't really correct. nativeHasA
Tima Vaisburd 2015/03/02 23:30:06 Renamed this method.
}

Powered by Google App Engine
This is Rietveld 408576698