| 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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 void SetNeedsPrepareTilesOnImplThread() override; | 190 void SetNeedsPrepareTilesOnImplThread() override; |
| 191 void SetNeedsCommitOnImplThread() override; | 191 void SetNeedsCommitOnImplThread() override; |
| 192 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; | 192 void SetVideoNeedsBeginFrames(bool needs_begin_frames) override; |
| 193 void PostAnimationEventsToMainThreadOnImplThread( | 193 void PostAnimationEventsToMainThreadOnImplThread( |
| 194 scoped_ptr<AnimationEventsVector> queue) override; | 194 scoped_ptr<AnimationEventsVector> queue) override; |
| 195 bool IsInsideDraw() override; | 195 bool IsInsideDraw() override; |
| 196 void RenewTreePriority() override; | 196 void RenewTreePriority() override; |
| 197 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, | 197 void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, |
| 198 base::TimeDelta delay) override; | 198 base::TimeDelta delay) override; |
| 199 void DidActivateSyncTree() override; | 199 void DidActivateSyncTree() override; |
| 200 void WillPrepareTiles() override; |
| 200 void DidPrepareTiles() override; | 201 void DidPrepareTiles() override; |
| 201 void DidCompletePageScaleAnimationOnImplThread() override; | 202 void DidCompletePageScaleAnimationOnImplThread() override; |
| 202 void OnDrawForOutputSurface() override; | 203 void OnDrawForOutputSurface() override; |
| 203 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. | 204 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. |
| 204 void PostFrameTimingEventsOnImplThread( | 205 void PostFrameTimingEventsOnImplThread( |
| 205 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | 206 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
| 206 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) | 207 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) |
| 207 override; | 208 override; |
| 208 | 209 |
| 209 // SchedulerClient implementation | 210 // SchedulerClient implementation |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 | 294 |
| 294 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 295 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
| 295 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 296 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 296 | 297 |
| 297 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 298 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 298 }; | 299 }; |
| 299 | 300 |
| 300 } // namespace cc | 301 } // namespace cc |
| 301 | 302 |
| 302 #endif // CC_TREES_THREAD_PROXY_H_ | 303 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |