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 CC_TREES_PROXY_MAIN_H_ | 5 #ifndef CC_TREES_PROXY_MAIN_H_ |
6 #define CC_TREES_PROXY_MAIN_H_ | 6 #define CC_TREES_PROXY_MAIN_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "cc/base/cc_export.h" | 9 #include "cc/base/cc_export.h" |
10 #include "cc/input/top_controls_state.h" | 10 #include "cc/input/top_controls_state.h" |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
86 void SetNeedsAnimate() override; | 86 void SetNeedsAnimate() override; |
87 void SetNeedsUpdateLayers() override; | 87 void SetNeedsUpdateLayers() override; |
88 void SetNeedsCommit() override; | 88 void SetNeedsCommit() override; |
89 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; | 89 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; |
90 void SetNextCommitWaitsForActivation() override; | 90 void SetNextCommitWaitsForActivation() override; |
91 void NotifyInputThrottledUntilCommit() override; | 91 void NotifyInputThrottledUntilCommit() override; |
92 void SetDeferCommits(bool defer_commits) override; | 92 void SetDeferCommits(bool defer_commits) override; |
93 bool CommitRequested() const override; | 93 bool CommitRequested() const override; |
94 bool BeginMainFrameRequested() const override; | 94 bool BeginMainFrameRequested() const override; |
95 void MainThreadHasStoppedFlinging() override; | 95 void MainThreadHasStoppedFlinging() override; |
96 void Start( | 96 void Start() override; |
97 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; | |
98 void Stop() override; | 97 void Stop() override; |
99 bool SupportsImplScrolling() const override; | 98 bool SupportsImplScrolling() const override; |
100 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; | 99 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; |
101 bool MainFrameWillHappenForTesting() override; | 100 bool MainFrameWillHappenForTesting() override; |
102 void ReleaseCompositorFrameSink() override; | 101 void ReleaseCompositorFrameSink() override; |
103 void UpdateTopControlsState(TopControlsState constraints, | 102 void UpdateTopControlsState(TopControlsState constraints, |
104 TopControlsState current, | 103 TopControlsState current, |
105 bool animate) override; | 104 bool animate) override; |
106 | 105 |
107 // This sets the channel used by ProxyMain to communicate with ProxyImpl. | 106 // This sets the channel used by ProxyMain to communicate with ProxyImpl. |
(...skipping 30 matching lines...) Expand all Loading... |
138 bool defer_commits_; | 137 bool defer_commits_; |
139 | 138 |
140 std::unique_ptr<ChannelMain> channel_main_; | 139 std::unique_ptr<ChannelMain> channel_main_; |
141 | 140 |
142 DISALLOW_COPY_AND_ASSIGN(ProxyMain); | 141 DISALLOW_COPY_AND_ASSIGN(ProxyMain); |
143 }; | 142 }; |
144 | 143 |
145 } // namespace cc | 144 } // namespace cc |
146 | 145 |
147 #endif // CC_TREES_PROXY_MAIN_H_ | 146 #endif // CC_TREES_PROXY_MAIN_H_ |
OLD | NEW |