| 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.h" | 10 #include "base/time.h" |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 virtual void OnVSyncParametersChanged(base::TimeTicks timebase, | 54 virtual void OnVSyncParametersChanged(base::TimeTicks timebase, |
| 55 base::TimeDelta interval) OVERRIDE {} | 55 base::TimeDelta interval) OVERRIDE {} |
| 56 virtual void BeginFrameOnImplThread(base::TimeTicks frame_time) | 56 virtual void BeginFrameOnImplThread(base::TimeTicks frame_time) |
| 57 OVERRIDE {} | 57 OVERRIDE {} |
| 58 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; | 58 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; |
| 59 virtual void OnHasPendingTreeStateChanged(bool have_pending_tree) OVERRIDE; | 59 virtual void OnHasPendingTreeStateChanged(bool have_pending_tree) OVERRIDE; |
| 60 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; | 60 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; |
| 61 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; | 61 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; |
| 62 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; | 62 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; |
| 63 virtual void SetNeedsCommitOnImplThread() OVERRIDE; | 63 virtual void SetNeedsCommitOnImplThread() OVERRIDE; |
| 64 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; | |
| 65 virtual void PostAnimationEventsToMainThreadOnImplThread( | 64 virtual void PostAnimationEventsToMainThreadOnImplThread( |
| 66 scoped_ptr<AnimationEventsVector> events, | 65 scoped_ptr<AnimationEventsVector> events, |
| 67 base::Time wall_clock_time) OVERRIDE; | 66 base::Time wall_clock_time) OVERRIDE; |
| 68 virtual bool ReduceContentsTextureMemoryOnImplThread( | 67 virtual bool ReduceContentsTextureMemoryOnImplThread( |
| 69 size_t limit_bytes, | 68 size_t limit_bytes, |
| 70 int priority_cutoff) OVERRIDE; | 69 int priority_cutoff) OVERRIDE; |
| 71 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; | 70 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; |
| 72 virtual void SendManagedMemoryStats() OVERRIDE; | 71 virtual void SendManagedMemoryStats() OVERRIDE; |
| 73 virtual bool IsInsideDraw() OVERRIDE; | 72 virtual bool IsInsideDraw() OVERRIDE; |
| 74 virtual void RenewTreePriority() OVERRIDE {} | 73 virtual void RenewTreePriority() OVERRIDE {} |
| (...skipping 100 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 private: | 174 private: |
| 176 DebugScopedSetImplThread impl_thread_; | 175 DebugScopedSetImplThread impl_thread_; |
| 177 DebugScopedSetMainThreadBlocked main_thread_blocked_; | 176 DebugScopedSetMainThreadBlocked main_thread_blocked_; |
| 178 | 177 |
| 179 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); | 178 DISALLOW_COPY_AND_ASSIGN(DebugScopedSetImplThreadAndMainThreadBlocked); |
| 180 }; | 179 }; |
| 181 | 180 |
| 182 } // namespace cc | 181 } // namespace cc |
| 183 | 182 |
| 184 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ | 183 #endif // CC_TREES_SINGLE_THREAD_PROXY_H_ |
| OLD | NEW |