| 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; | |
| 201 void DidPrepareTiles() override; | 200 void DidPrepareTiles() override; |
| 202 void DidCompletePageScaleAnimationOnImplThread() override; | 201 void DidCompletePageScaleAnimationOnImplThread() override; |
| 203 void OnDrawForOutputSurface() override; | 202 void OnDrawForOutputSurface() override; |
| 204 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. | 203 // This should only be called by LayerTreeHostImpl::PostFrameTimingEvents. |
| 205 void PostFrameTimingEventsOnImplThread( | 204 void PostFrameTimingEventsOnImplThread( |
| 206 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | 205 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
| 207 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) | 206 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) |
| 208 override; | 207 override; |
| 209 | 208 |
| 210 // SchedulerClient implementation | 209 // SchedulerClient implementation |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 294 | 293 |
| 295 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 294 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
| 296 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 295 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 297 | 296 |
| 298 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 297 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 299 }; | 298 }; |
| 300 | 299 |
| 301 } // namespace cc | 300 } // namespace cc |
| 302 | 301 |
| 303 #endif // CC_TREES_THREAD_PROXY_H_ | 302 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |