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