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

Unified Diff: third_party/WebKit/public/platform/WebViewScheduler.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/platform/WebViewScheduler.h
diff --git a/third_party/WebKit/public/platform/WebViewScheduler.h b/third_party/WebKit/public/platform/WebViewScheduler.h
index 26eb250768f2fd86495755f24f69fb5b2c28b855..ae94ab88081f36df642d90e7d11562c81d4b5d25 100644
--- a/third_party/WebKit/public/platform/WebViewScheduler.h
+++ b/third_party/WebKit/public/platform/WebViewScheduler.h
@@ -65,6 +65,8 @@ class BLINK_PLATFORM_EXPORT WebViewScheduler {
// Sets the virtual time policy, which is applied imemdiatly to all child
// WebFrameSchedulers.
virtual void setVirtualTimePolicy(VirtualTimePolicy) = 0;
+
+ virtual void audioStateChanged(bool isAudioPlaying) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698