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

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

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Support out-of-process frames 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.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 72326e93daf0387e933ef84ec0a30ccde5f7c4fb..f7eeabb1e50a63a5f8b55dac7d0a2f866adf5e64 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -3768,6 +3768,10 @@ void WebViewImpl::performPluginAction(const WebPluginAction& action,
}
}
+void WebViewImpl::audioStateChanged(bool isAudioPlaying) {
+ m_scheduler->audioStateChanged(isAudioPlaying);
+}
+
WebHitTestResult WebViewImpl::hitTestResultAt(const WebPoint& point) {
return coreHitTestResultAt(point);
}

Powered by Google App Engine
This is Rietveld 408576698