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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 void PostAnimationEventsToMainThreadOnImplThread( | 99 void PostAnimationEventsToMainThreadOnImplThread( |
100 scoped_ptr<AnimationEventsVector> events) override; | 100 scoped_ptr<AnimationEventsVector> events) override; |
101 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, | 101 bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, |
102 int priority_cutoff) override; | 102 int priority_cutoff) override; |
103 bool IsInsideDraw() override; | 103 bool IsInsideDraw() override; |
104 void RenewTreePriority() override {} | 104 void RenewTreePriority() override {} |
105 void PostDelayedScrollbarFadeOnImplThread(const base::Closure& start_fade, | 105 void PostDelayedScrollbarFadeOnImplThread(const base::Closure& start_fade, |
106 base::TimeDelta delay) override {} | 106 base::TimeDelta delay) override {} |
107 void DidActivateSyncTree() override; | 107 void DidActivateSyncTree() override; |
108 void DidPrepareTiles() override; | 108 void DidPrepareTiles() override; |
| 109 void DidCompletePageScaleAnimationOnImplThread() override; |
109 void SetDebugState(const LayerTreeDebugState& debug_state) override {} | 110 void SetDebugState(const LayerTreeDebugState& debug_state) override {} |
110 | 111 |
111 void RequestNewOutputSurface(); | 112 void RequestNewOutputSurface(); |
112 | 113 |
113 // Called by the legacy path where RenderWidget does the scheduling. | 114 // Called by the legacy path where RenderWidget does the scheduling. |
114 void CompositeImmediately(base::TimeTicks frame_begin_time); | 115 void CompositeImmediately(base::TimeTicks frame_begin_time); |
115 | 116 |
116 private: | 117 private: |
117 SingleThreadProxy( | 118 SingleThreadProxy( |
118 LayerTreeHost* layer_tree_host, | 119 LayerTreeHost* layer_tree_host, |
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 private: | 229 private: |
229 DebugScopedSetImplThread impl_thread_; | 230 DebugScopedSetImplThread impl_thread_; |
230 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 231 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
231 | 232 |
232 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 233 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
233 }; | 234 }; |
234 | 235 |
235 } // namespace cc | 236 } // namespace cc |
236 | 237 |
237 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 238 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |