Index: third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl.h |
diff --git a/third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl.h b/third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl.h |
index 2e2188830670a2002fc9062e064269ab8172f966..ad095e7326bfa67bdb4ae75a158babdef198da70 100644 |
--- a/third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl.h |
+++ b/third_party/WebKit/Source/platform/scheduler/renderer/web_frame_scheduler_impl.h |
@@ -49,6 +49,9 @@ class BLINK_PLATFORM_EXPORT WebFrameSchedulerImpl : public WebFrameScheduler { |
void didStartLoading(unsigned long identifier) override; |
void didStopLoading(unsigned long identifier) override; |
void setDocumentParsingInBackground(bool background_parser_active) override; |
+ void audioStateChanged(bool is_audio_playing) override; |
+ |
+ bool IsAudioPlaying() const; |
private: |
friend class WebViewSchedulerImpl; |
@@ -70,6 +73,7 @@ class BLINK_PLATFORM_EXPORT WebFrameSchedulerImpl : public WebFrameScheduler { |
bool frame_visible_; |
bool page_visible_; |
bool cross_origin_; |
+ bool is_audio_playing_; |
DISALLOW_COPY_AND_ASSIGN(WebFrameSchedulerImpl); |
}; |