| 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_SINGLE_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_SINGLE_THREAD_PROXY_H_ |
| 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ | 6 #define CC_TREES_SINGLE_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <limits> | 8 #include <limits> |
| 9 | 9 |
| 10 #include "base/cancelable_callback.h" | 10 #include "base/cancelable_callback.h" |
| (...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 void DidActivateSyncTree() override; | 103 void DidActivateSyncTree() override; |
| 104 void WillPrepareTiles() override; | 104 void WillPrepareTiles() override; |
| 105 void DidPrepareTiles() override; | 105 void DidPrepareTiles() override; |
| 106 void DidCompletePageScaleAnimationOnImplThread() override; | 106 void DidCompletePageScaleAnimationOnImplThread() override; |
| 107 void OnDrawForOutputSurface() override; | 107 void OnDrawForOutputSurface() override; |
| 108 void PostFrameTimingEventsOnImplThread( | 108 void PostFrameTimingEventsOnImplThread( |
| 109 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | 109 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
| 110 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) | 110 scoped_ptr<FrameTimingTracker::MainFrameTimingSet> main_frame_events) |
| 111 override; | 111 override; |
| 112 | 112 |
| 113 void SetDebugState(const LayerTreeDebugState& debug_state) override {} | |
| 114 | |
| 115 void RequestNewOutputSurface(); | 113 void RequestNewOutputSurface(); |
| 116 | 114 |
| 117 // Called by the legacy path where RenderWidget does the scheduling. | 115 // Called by the legacy path where RenderWidget does the scheduling. |
| 118 void LayoutAndUpdateLayers(); | 116 void LayoutAndUpdateLayers(); |
| 119 void CompositeImmediately(base::TimeTicks frame_begin_time); | 117 void CompositeImmediately(base::TimeTicks frame_begin_time); |
| 120 | 118 |
| 121 protected: | 119 protected: |
| 122 SingleThreadProxy( | 120 SingleThreadProxy( |
| 123 LayerTreeHost* layer_tree_host, | 121 LayerTreeHost* layer_tree_host, |
| 124 LayerTreeHostSingleThreadClient* client, | 122 LayerTreeHostSingleThreadClient* client, |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 private: | 230 private: |
| 233 DebugScopedSetImplThread impl_thread_; | 231 DebugScopedSetImplThread impl_thread_; |
| 234 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 232 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 235 | 233 |
| 236 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 234 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 237 }; | 235 }; |
| 238 | 236 |
| 239 } // namespace cc | 237 } // namespace cc |
| 240 | 238 |
| 241 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 239 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |