| 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_THREAD_PROXY_H_ | 5 #ifndef CC_TREES_THREAD_PROXY_H_ |
| 6 #define CC_TREES_THREAD_PROXY_H_ | 6 #define CC_TREES_THREAD_PROXY_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
| (...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 OVERRIDE; | 191 OVERRIDE; |
| 192 virtual void SetNeedsAnimateOnImplThread() OVERRIDE; | 192 virtual void SetNeedsAnimateOnImplThread() OVERRIDE; |
| 193 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; | 193 virtual void SetNeedsManageTilesOnImplThread() OVERRIDE; |
| 194 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; | 194 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; |
| 195 virtual void SetNeedsCommitOnImplThread() OVERRIDE; | 195 virtual void SetNeedsCommitOnImplThread() OVERRIDE; |
| 196 virtual void PostAnimationEventsToMainThreadOnImplThread( | 196 virtual void PostAnimationEventsToMainThreadOnImplThread( |
| 197 scoped_ptr<AnimationEventsVector> queue) OVERRIDE; | 197 scoped_ptr<AnimationEventsVector> queue) OVERRIDE; |
| 198 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, | 198 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, |
| 199 int priority_cutoff) | 199 int priority_cutoff) |
| 200 OVERRIDE; | 200 OVERRIDE; |
| 201 virtual void SendManagedMemoryStats() OVERRIDE; | |
| 202 virtual bool IsInsideDraw() OVERRIDE; | 201 virtual bool IsInsideDraw() OVERRIDE; |
| 203 virtual void RenewTreePriority() OVERRIDE; | 202 virtual void RenewTreePriority() OVERRIDE; |
| 204 virtual void PostDelayedScrollbarFadeOnImplThread( | 203 virtual void PostDelayedScrollbarFadeOnImplThread( |
| 205 const base::Closure& start_fade, | 204 const base::Closure& start_fade, |
| 206 base::TimeDelta delay) OVERRIDE; | 205 base::TimeDelta delay) OVERRIDE; |
| 207 virtual void DidActivatePendingTree() OVERRIDE; | 206 virtual void DidActivatePendingTree() OVERRIDE; |
| 208 virtual void DidManageTiles() OVERRIDE; | 207 virtual void DidManageTiles() OVERRIDE; |
| 209 | 208 |
| 210 // SchedulerClient implementation | 209 // SchedulerClient implementation |
| 211 virtual void SetNeedsBeginFrame(bool enable) OVERRIDE; | 210 virtual void SetNeedsBeginFrame(bool enable) OVERRIDE; |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 295 |
| 297 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; | 296 base::WeakPtr<ThreadProxy> main_thread_weak_ptr_; |
| 298 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; | 297 base::WeakPtr<ThreadProxy> impl_thread_weak_ptr_; |
| 299 | 298 |
| 300 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 299 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 301 }; | 300 }; |
| 302 | 301 |
| 303 } // namespace cc | 302 } // namespace cc |
| 304 | 303 |
| 305 #endif // CC_TREES_THREAD_PROXY_H_ | 304 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |