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

Side by Side Diff: third_party/WebKit/public/platform/WebViewScheduler.h

Issue 2483843002: Revert of [scheduler] Teach scheduler about audio state (Closed)
Patch Set: Rebase Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 // pending network fetches associated any child WebFrameScheduler, or a 58 // pending network fetches associated any child WebFrameScheduler, or a
59 // document is being parsed on a background thread. Initially virtual time 59 // document is being parsed on a background thread. Initially virtual time
60 // is not allowed to advance until we have seen at least one load. The aim 60 // is not allowed to advance until we have seen at least one load. The aim
61 // being to try and make loading (more) deterministic. 61 // being to try and make loading (more) deterministic.
62 DETERMINISTIC_LOADING 62 DETERMINISTIC_LOADING
63 }; 63 };
64 64
65 // Sets the virtual time policy, which is applied imemdiatly to all child 65 // Sets the virtual time policy, which is applied imemdiatly to all child
66 // WebFrameSchedulers. 66 // WebFrameSchedulers.
67 virtual void setVirtualTimePolicy(VirtualTimePolicy) = 0; 67 virtual void setVirtualTimePolicy(VirtualTimePolicy) = 0;
68
69 virtual void audioStateChanged(bool isAudioPlaying) = 0;
70 }; 68 };
71 69
72 } // namespace blink 70 } // namespace blink
73 71
74 #endif // WebViewScheduler 72 #endif // WebViewScheduler
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.cpp ('k') | third_party/WebKit/public/web/WebView.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698