| 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 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 bool SupportsImplScrolling() const override; | 161 bool SupportsImplScrolling() const override; |
| 162 void UpdateTopControlsState(TopControlsState constraints, | 162 void UpdateTopControlsState(TopControlsState constraints, |
| 163 TopControlsState current, | 163 TopControlsState current, |
| 164 bool animate) override; | 164 bool animate) override; |
| 165 void SetOutputIsSecure(bool output_is_secure) override; | |
| 166 bool MainFrameWillHappenForTesting() override; | 165 bool MainFrameWillHappenForTesting() override; |
| 167 | 166 |
| 168 // Called on impl thread. | 167 // Called on impl thread. |
| 169 // ChannelImpl implementation | 168 // ChannelImpl implementation |
| 170 void DidCompleteSwapBuffers() override; | 169 void DidCompleteSwapBuffers() override; |
| 171 void SetRendererCapabilitiesMainCopy( | 170 void SetRendererCapabilitiesMainCopy( |
| 172 const RendererCapabilities& capabilities) override; | 171 const RendererCapabilities& capabilities) override; |
| 173 void BeginMainFrameNotExpectedSoon() override; | 172 void BeginMainFrameNotExpectedSoon() override; |
| 174 void DidCommitAndDrawFrame() override; | 173 void DidCommitAndDrawFrame() override; |
| 175 void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override; | 174 void SetAnimationEvents(std::unique_ptr<AnimationEvents> queue) override; |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 214 CompositorThreadOnly compositor_thread_vars_unsafe_; | 213 CompositorThreadOnly compositor_thread_vars_unsafe_; |
| 215 | 214 |
| 216 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; | 215 base::WeakPtr<ProxyImpl> proxy_impl_weak_ptr_; |
| 217 | 216 |
| 218 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); | 217 DISALLOW_COPY_AND_ASSIGN(RemoteChannelImpl); |
| 219 }; | 218 }; |
| 220 | 219 |
| 221 } // namespace cc | 220 } // namespace cc |
| 222 | 221 |
| 223 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ | 222 #endif // CC_TREES_REMOTE_CHANNEL_IMPL_H_ |
| OLD | NEW |