| 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 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 virtual void ScheduledActionCommit() OVERRIDE; | 219 virtual void ScheduledActionCommit() OVERRIDE; |
| 220 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE; | 220 virtual void ScheduledActionUpdateVisibleTiles() OVERRIDE; |
| 221 virtual void ScheduledActionActivateSyncTree() OVERRIDE; | 221 virtual void ScheduledActionActivateSyncTree() OVERRIDE; |
| 222 virtual void ScheduledActionBeginOutputSurfaceCreation() OVERRIDE; | 222 virtual void ScheduledActionBeginOutputSurfaceCreation() OVERRIDE; |
| 223 virtual void ScheduledActionManageTiles() OVERRIDE; | 223 virtual void ScheduledActionManageTiles() OVERRIDE; |
| 224 virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) OVERRIDE; | 224 virtual void DidAnticipatedDrawTimeChange(base::TimeTicks time) OVERRIDE; |
| 225 virtual base::TimeDelta DrawDurationEstimate() OVERRIDE; | 225 virtual base::TimeDelta DrawDurationEstimate() OVERRIDE; |
| 226 virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE; | 226 virtual base::TimeDelta BeginMainFrameToCommitDurationEstimate() OVERRIDE; |
| 227 virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE; | 227 virtual base::TimeDelta CommitToActivateDurationEstimate() OVERRIDE; |
| 228 virtual void DidBeginImplFrameDeadline() OVERRIDE; | 228 virtual void DidBeginImplFrameDeadline() OVERRIDE; |
| 229 virtual void SendBeginFrameToChildren(const BeginFrameArgs& args) OVERRIDE; |
| 229 | 230 |
| 230 // ResourceUpdateControllerClient implementation | 231 // ResourceUpdateControllerClient implementation |
| 231 virtual void ReadyToFinalizeTextureUpdates() OVERRIDE; | 232 virtual void ReadyToFinalizeTextureUpdates() OVERRIDE; |
| 232 | 233 |
| 233 protected: | 234 protected: |
| 234 ThreadProxy(LayerTreeHost* layer_tree_host, | 235 ThreadProxy(LayerTreeHost* layer_tree_host, |
| 235 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, | 236 scoped_refptr<base::SingleThreadTaskRunner> main_task_runner, |
| 236 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); | 237 scoped_refptr<base::SingleThreadTaskRunner> impl_task_runner); |
| 237 | 238 |
| 238 private: | 239 private: |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 297 | 298 |
| 298 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 299 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
| 299 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 300 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 300 | 301 |
| 301 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 302 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 302 }; | 303 }; |
| 303 | 304 |
| 304 } // namespace cc | 305 } // namespace cc |
| 305 | 306 |
| 306 #endif // CC_TREES_THREAD_PROXY_H_ | 307 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |