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

Unified Diff: third_party/WebKit/public/web/WebView.h

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Rebased Created 4 years, 2 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: third_party/WebKit/public/web/WebView.h
diff --git a/third_party/WebKit/public/web/WebView.h b/third_party/WebKit/public/web/WebView.h
index 4c1b225a102bff17c9b739da9e81039e15d85b93..5b158283f36c9e1bb7a705177f28199de10cb917 100644
--- a/third_party/WebKit/public/web/WebView.h
+++ b/third_party/WebKit/public/web/WebView.h
@@ -358,6 +358,9 @@ class WebView : protected WebWidget {
virtual void performPluginAction(const WebPluginAction&,
const WebPoint& location) = 0;
+ // Notifies WebView when audio is started or stopped.
+ virtual void audioStateChanged(bool isAudioPlaying) = 0;
+
// Data exchange -------------------------------------------------------
// Do a hit test at given point and return the HitTestResult.

Powered by Google App Engine
This is Rietveld 408576698