| 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 WebViewScheduler_h |
| 6 #define WebViewScheduler_h | 6 #define WebViewScheduler_h |
| 7 | 7 |
| 8 #include "WebCommon.h" | 8 #include "WebCommon.h" |
| 9 #include "public/platform/BlameContext.h" | 9 #include "public/platform/BlameContext.h" |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 // is not allowed to advance until we have seen at least one load. The aim | 72 // is not allowed to advance until we have seen at least one load. The aim |
| 73 // being to try and make loading (more) deterministic. | 73 // being to try and make loading (more) deterministic. |
| 74 DETERMINISTIC_LOADING | 74 DETERMINISTIC_LOADING |
| 75 }; | 75 }; |
| 76 | 76 |
| 77 // Sets the virtual time policy, which is applied imemdiatly to all child | 77 // Sets the virtual time policy, which is applied imemdiatly to all child |
| 78 // WebFrameSchedulers. | 78 // WebFrameSchedulers. |
| 79 virtual void setVirtualTimePolicy(VirtualTimePolicy) = 0; | 79 virtual void setVirtualTimePolicy(VirtualTimePolicy) = 0; |
| 80 | 80 |
| 81 virtual void audioStateChanged(bool isAudioPlaying) = 0; | 81 virtual void audioStateChanged(bool isAudioPlaying) = 0; |
| 82 |
| 83 virtual bool hasActiveConnectionForTest() const = 0; |
| 82 }; | 84 }; |
| 83 | 85 |
| 84 } // namespace blink | 86 } // namespace blink |
| 85 | 87 |
| 86 #endif // WebViewScheduler | 88 #endif // WebViewScheduler |
| OLD | NEW |