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/time/time.h" | 10 #include "base/time/time.h" |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 const gfx::Rect& dirty_rect) OVERRIDE; | 67 const gfx::Rect& dirty_rect) OVERRIDE; |
68 virtual void SetNeedsAnimateOnImplThread() OVERRIDE; | 68 virtual void SetNeedsAnimateOnImplThread() OVERRIDE; |
69 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; | 69 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; |
70 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; | 70 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; |
71 virtual void SetNeedsCommitOnImplThread() OVERRIDE; | 71 virtual void SetNeedsCommitOnImplThread() OVERRIDE; |
72 virtual void PostAnimationEventsToMainThreadOnImplThread( | 72 virtual void PostAnimationEventsToMainThreadOnImplThread( |
73 scoped_ptr<AnimationEventsVector> events) OVERRIDE; | 73 scoped_ptr<AnimationEventsVector> events) OVERRIDE; |
74 virtual bool ReduceContentsTextureMemoryOnImplThread( | 74 virtual bool ReduceContentsTextureMemoryOnImplThread( |
75 size_t limit_bytes, | 75 size_t limit_bytes, |
76 int priority_cutoff) OVERRIDE; | 76 int priority_cutoff) OVERRIDE; |
77 virtual void SendManagedMemoryStats() OVERRIDE; | |
78 virtual bool IsInsideDraw() OVERRIDE; | 77 virtual bool IsInsideDraw() OVERRIDE; |
79 virtual void RenewTreePriority() OVERRIDE {} | 78 virtual void RenewTreePriority() OVERRIDE {} |
80 virtual void PostDelayedScrollbarFadeOnImplThread( | 79 virtual void PostDelayedScrollbarFadeOnImplThread( |
81 const base::Closure& start_fade, | 80 const base::Closure& start_fade, |
82 base::TimeDelta delay) OVERRIDE {} | 81 base::TimeDelta delay) OVERRIDE {} |
83 virtual void DidActivatePendingTree() OVERRIDE {} | 82 virtual void DidActivatePendingTree() OVERRIDE {} |
84 virtual void DidManageTiles() OVERRIDE {} | 83 virtual void DidManageTiles() OVERRIDE {} |
85 virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE {} | 84 virtual void SetDebugState(const LayerTreeDebugState& debug_state) OVERRIDE {} |
86 | 85 |
87 // Attempts to create the context and renderer synchronously. Calls | 86 // Attempts to create the context and renderer synchronously. Calls |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
176 private: | 175 private: |
177 DebugScopedSetImplThread impl_thread_; | 176 DebugScopedSetImplThread impl_thread_; |
178 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 177 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
179 | 178 |
180 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 179 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
181 }; | 180 }; |
182 | 181 |
183 } // namespace cc | 182 } // namespace cc |
184 | 183 |
185 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 184 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
OLD | NEW |