OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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_REMOTE_CHANNEL_IMPL_H_ | 5 #ifndef CC_TREES_REMOTE_CHANNEL_IMPL_H_ |
6 #define CC_TREES_REMOTE_CHANNEL_IMPL_H_ | 6 #define CC_TREES_REMOTE_CHANNEL_IMPL_H_ |
7 | 7 |
8 #include <queue> | 8 #include <queue> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
143 void SetNextCommitWaitsForActivation() override; | 143 void SetNextCommitWaitsForActivation() override; |
144 void NotifyInputThrottledUntilCommit() override; | 144 void NotifyInputThrottledUntilCommit() override; |
145 void SetDeferCommits(bool defer_commits) override; | 145 void SetDeferCommits(bool defer_commits) override; |
146 void MainThreadHasStoppedFlinging() override; | 146 void MainThreadHasStoppedFlinging() override; |
147 bool CommitRequested() const override; | 147 bool CommitRequested() const override; |
148 bool BeginMainFrameRequested() const override; | 148 bool BeginMainFrameRequested() const override; |
149 void Start() override; | 149 void Start() override; |
150 void Stop() override; | 150 void Stop() override; |
151 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; | 151 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; |
152 bool SupportsImplScrolling() const override; | 152 bool SupportsImplScrolling() const override; |
153 void UpdateTopControlsState(TopControlsState constraints, | 153 void UpdateTopControlsState(BrowserControlsState constraints, |
vmpstr
2016/10/21 17:54:59
ditto
mdjones
2016/10/24 21:20:24
Done.
| |
154 TopControlsState current, | 154 BrowserControlsState current, |
155 bool animate) override; | 155 bool animate) override; |
156 bool MainFrameWillHappenForTesting() override; | 156 bool MainFrameWillHappenForTesting() override; |
157 | 157 |
158 // Called on impl thread. | 158 // Called on impl thread. |
159 // ChannelImpl implementation | 159 // ChannelImpl implementation |
160 void DidReceiveCompositorFrameAck() override; | 160 void DidReceiveCompositorFrameAck() override; |
161 void BeginMainFrameNotExpectedSoon() override; | 161 void BeginMainFrameNotExpectedSoon() override; |
162 void DidCommitAndDrawFrame() override; | 162 void DidCommitAndDrawFrame() override; |
163 void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override; | 163 void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override; |
164 void DidLoseCompositorFrameSink() override; | 164 void DidLoseCompositorFrameSink() override; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
199 CompositorThreadOnly compositor_thread_vars_unsafe_; | 199 CompositorThreadOnly compositor_thread_vars_unsafe_; |
200 | 200 |
201 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; | 201 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; |
202 | 202 |
203 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); | 203 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); |
204 }; | 204 }; |
205 | 205 |
206 } // namespace cc | 206 } // namespace cc |
207 | 207 |
208 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ | 208 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ |
OLD | NEW |