| OLD | NEW |
| 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_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_THREAD_PROXY_H_ |
| 6 #define CC_TREES_THREAD_PROXY_H_ | 6 #define CC_TREES_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 176 void MainThreadHasStoppedFlinging() override; | 176 void MainThreadHasStoppedFlinging() override; |
| 177 void Start() override; | 177 void Start() override; |
| 178 void Stop() override; | 178 void Stop() override; |
| 179 size_t MaxPartialTextureUpdates() const override; | 179 size_t MaxPartialTextureUpdates() const override; |
| 180 void ForceSerializeOnSwapBuffers() override; | 180 void ForceSerializeOnSwapBuffers() override; |
| 181 bool SupportsImplScrolling() const override; | 181 bool SupportsImplScrolling() const override; |
| 182 void SetDebugState(const LayerTreeDebugState& debug_state) override; | 182 void SetDebugState(const LayerTreeDebugState& debug_state) override; |
| 183 bool MainFrameWillHappenForTesting() override; | 183 bool MainFrameWillHappenForTesting() override; |
| 184 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; | 184 void SetChildrenNeedBeginFrames(bool children_need_begin_frames) override; |
| 185 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; | 185 void SetAuthoritativeVSyncInterval(const base::TimeDelta& interval) override; |
| 186 void RecreateOutputSurfaceBuffers() override; |
| 186 | 187 |
| 187 // LayerTreeHostImplClient implementation | 188 // LayerTreeHostImplClient implementation |
| 188 void UpdateRendererCapabilitiesOnImplThread() override; | 189 void UpdateRendererCapabilitiesOnImplThread() override; |
| 189 void DidLoseOutputSurfaceOnImplThread() override; | 190 void DidLoseOutputSurfaceOnImplThread() override; |
| 190 void CommitVSyncParameters(base::TimeTicks timebase, | 191 void CommitVSyncParameters(base::TimeTicks timebase, |
| 191 base::TimeDelta interval) override; | 192 base::TimeDelta interval) override; |
| 192 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; | 193 void SetEstimatedParentDrawTime(base::TimeDelta draw_time) override; |
| 193 void SetMaxSwapsPendingOnImplThread(int max) override; | 194 void SetMaxSwapsPendingOnImplThread(int max) override; |
| 194 void DidSwapBuffersOnImplThread() override; | 195 void DidSwapBuffersOnImplThread() override; |
| 195 void DidSwapBuffersCompleteOnImplThread() override; | 196 void DidSwapBuffersCompleteOnImplThread() override; |
| (...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 310 |
| 310 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 311 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
| 311 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 312 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 312 | 313 |
| 313 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 314 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 314 }; | 315 }; |
| 315 | 316 |
| 316 } // namespace cc | 317 } // namespace cc |
| 317 | 318 |
| 318 #endif // CC_TREES_THREAD_PROXY_H_ | 319 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |