| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef WebViewScheduler_h | 5 #ifndef THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER
_H_ |
| 6 #define WebViewScheduler_h | 6 #define THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDULER
_H_ |
| 7 | 7 |
| 8 #include "WebCommon.h" | 8 #include "platform/wtf/Functional.h" |
| 9 #include "public/platform/BlameContext.h" | 9 #include "public/platform/BlameContext.h" |
| 10 #include "public/platform/WebCommon.h" |
| 10 | 11 |
| 11 #include <memory> | 12 #include <memory> |
| 12 | 13 |
| 13 namespace blink { | 14 namespace blink { |
| 14 | 15 |
| 15 class WebFrameScheduler; | 16 class WebFrameScheduler; |
| 16 | 17 |
| 17 class BLINK_PLATFORM_EXPORT WebViewScheduler { | 18 class BLINK_PLATFORM_EXPORT WebViewScheduler { |
| 18 public: | 19 public: |
| 19 // Helper interface to plumb settings from WebSettings to scheduler. | 20 // Helper interface to plumb settings from WebSettings to scheduler. |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // WebFrameSchedulers. | 83 // WebFrameSchedulers. |
| 83 virtual void SetVirtualTimePolicy(VirtualTimePolicy) = 0; | 84 virtual void SetVirtualTimePolicy(VirtualTimePolicy) = 0; |
| 84 | 85 |
| 85 virtual void AudioStateChanged(bool is_audio_playing) = 0; | 86 virtual void AudioStateChanged(bool is_audio_playing) = 0; |
| 86 | 87 |
| 87 virtual bool HasActiveConnectionForTest() const = 0; | 88 virtual bool HasActiveConnectionForTest() const = 0; |
| 88 }; | 89 }; |
| 89 | 90 |
| 90 } // namespace blink | 91 } // namespace blink |
| 91 | 92 |
| 92 #endif // WebViewScheduler | 93 #endif // THIRD_PARTY_WEBKIT_SOURCE_PLATFORM_SCHEDULER_RENDERER_WEB_VIEW_SCHEDU
LER_H_ |
| OLD | NEW |