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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Switched approach to use WebContentsImpl::WasRecentlyAudible 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/Source/web/WebViewImpl.h
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h
index ce5ae7056a588e124cc03dd303514ea26dbd0121..8bb4d9b8596eefa0cfb940d11233fad3c1ef5e8e 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.h
+++ b/third_party/WebKit/Source/web/WebViewImpl.h
@@ -228,6 +228,7 @@ public:
void performPluginAction(
const WebPluginAction&,
const WebPoint&) override;
+ void audioStateChanged(bool isAudioPlaying) override;
WebHitTestResult hitTestResultAt(const WebPoint&) override;
WebHitTestResult hitTestResultForTap(const WebPoint&, const WebSize&) override;
void dragSourceEndedAt(

Powered by Google App Engine
This is Rietveld 408576698