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

Side by Side Diff: cc/trees/proxy.h

Issue 1841083007: Remove SendBeginFramesToChildren plumbing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@scheduler_output_surface_client_set_beginframesource
Patch Set: Rebase Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/proxy_impl.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 CC_TREES_PROXY_H_ 5 #ifndef CC_TREES_PROXY_H_
6 #define CC_TREES_PROXY_H_ 6 #define CC_TREES_PROXY_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <string> 9 #include <string>
10 10
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 virtual bool CommitRequested() const = 0; 67 virtual bool CommitRequested() const = 0;
68 virtual bool BeginMainFrameRequested() const = 0; 68 virtual bool BeginMainFrameRequested() const = 0;
69 69
70 // Must be called before using the proxy. 70 // Must be called before using the proxy.
71 virtual void Start( 71 virtual void Start(
72 std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0; 72 std::unique_ptr<BeginFrameSource> external_begin_frame_source) = 0;
73 virtual void Stop() = 0; // Must be called before deleting the proxy. 73 virtual void Stop() = 0; // Must be called before deleting the proxy.
74 74
75 virtual bool SupportsImplScrolling() const = 0; 75 virtual bool SupportsImplScrolling() const = 0;
76 76
77 virtual void SetChildrenNeedBeginFrames(bool children_need_begin_frames) = 0;
78
79 virtual void SetAuthoritativeVSyncInterval( 77 virtual void SetAuthoritativeVSyncInterval(
80 const base::TimeDelta& interval) = 0; 78 const base::TimeDelta& interval) = 0;
81 79
82 virtual void UpdateTopControlsState(TopControlsState constraints, 80 virtual void UpdateTopControlsState(TopControlsState constraints,
83 TopControlsState current, 81 TopControlsState current,
84 bool animate) = 0; 82 bool animate) = 0;
85 83
86 virtual void SetOutputIsSecure(bool output_is_secure) = 0; 84 virtual void SetOutputIsSecure(bool output_is_secure) = 0;
87 85
88 // Testing hooks 86 // Testing hooks
89 virtual bool MainFrameWillHappenForTesting() = 0; 87 virtual bool MainFrameWillHappenForTesting() = 0;
90 }; 88 };
91 89
92 } // namespace cc 90 } // namespace cc
93 91
94 #endif // CC_TREES_PROXY_H_ 92 #endif // CC_TREES_PROXY_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_unittest.cc ('k') | cc/trees/proxy_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698