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 "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
10 #include "cc/base/cc_export.h" | 10 #include "cc/base/cc_export.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; | 151 void SetNeedsRedraw(const gfx::Rect& damage_rect) override; |
152 void SetNextCommitWaitsForActivation() override; | 152 void SetNextCommitWaitsForActivation() override; |
153 void NotifyInputThrottledUntilCommit() override; | 153 void NotifyInputThrottledUntilCommit() override; |
154 void SetDeferCommits(bool defer_commits) override; | 154 void SetDeferCommits(bool defer_commits) override; |
155 void MainThreadHasStoppedFlinging() override; | 155 void MainThreadHasStoppedFlinging() override; |
156 bool CommitRequested() const override; | 156 bool CommitRequested() const override; |
157 bool BeginMainFrameRequested() const override; | 157 bool BeginMainFrameRequested() const override; |
158 void Start( | 158 void Start( |
159 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; | 159 std::unique_ptr<BeginFrameSource> external_begin_frame_source) override; |
160 void Stop() override; | 160 void Stop() override; |
| 161 void SetMutator(std::unique_ptr<LayerTreeMutator> mutator) override; |
161 bool SupportsImplScrolling() const override; | 162 bool SupportsImplScrolling() const override; |
162 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; | 163 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; |
163 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; | 164 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; |
164 void UpdateTopControlsState(TopControlsState constraints, | 165 void UpdateTopControlsState(TopControlsState constraints, |
165 TopControlsState current, | 166 TopControlsState current, |
166 bool animate) override; | 167 bool animate) override; |
167 void SetOutputIsSecure(bool output_is_secure) override; | 168 void SetOutputIsSecure(bool output_is_secure) override; |
168 bool MainFrameWillHappenForTesting() override; | 169 bool MainFrameWillHappenForTesting() override; |
169 | 170 |
170 // Called on impl thread. | 171 // Called on impl thread. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
219 CompositorThreadOnly compositor_thread_vars_unsafe_; | 220 CompositorThreadOnly compositor_thread_vars_unsafe_; |
220 | 221 |
221 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; | 222 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; |
222 | 223 |
223 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); | 224 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); |
224 }; | 225 }; |
225 | 226 |
226 } // namespace cc | 227 } // namespace cc |
227 | 228 |
228 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ | 229 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ |
OLD | NEW |