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

Unified Diff: third_party/WebKit/public/platform/WebFrameScheduler.h

Issue 2383473002: [scheduler] Teach scheduler about audio state (Closed)
Patch Set: WebFrames! 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/WebFrameScheduler.h
diff --git a/third_party/WebKit/public/platform/WebFrameScheduler.h b/third_party/WebKit/public/platform/WebFrameScheduler.h
index d8be1dfebe62f6b88942e2bfe2f24d407dec5d7d..545ca19def05beb1e4a8dbbb1a3b6fe30e508917 100644
--- a/third_party/WebKit/public/platform/WebFrameScheduler.h
+++ b/third_party/WebKit/public/platform/WebFrameScheduler.h
@@ -63,6 +63,9 @@ class BLINK_PLATFORM_EXPORT WebFrameScheduler {
// tells the scheduler not to advance virtual time if it's using the
// DETERMINISTIC_LOADING policy.
virtual void setDocumentParsingInBackground(bool) {}
+
+ // Tells the scheduler that audio is started or stopped in the frame.
+ virtual void audioStateChanged(bool) {}
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698