| 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 "base/memory/scoped_ptr.h" | 8 #include "base/memory/scoped_ptr.h" |
| 9 #include "base/memory/weak_ptr.h" | 9 #include "base/memory/weak_ptr.h" |
| 10 #include "base/time.h" | 10 #include "base/time.h" |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 base::Time wall_clock_time) OVERRIDE; | 79 base::Time wall_clock_time) OVERRIDE; |
| 80 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, | 80 virtual bool ReduceContentsTextureMemoryOnImplThread(size_t limit_bytes, |
| 81 int priority_cutoff) | 81 int priority_cutoff) |
| 82 OVERRIDE; | 82 OVERRIDE; |
| 83 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; | 83 virtual void ReduceWastedContentsTextureMemoryOnImplThread() OVERRIDE; |
| 84 virtual void SendManagedMemoryStats() OVERRIDE; | 84 virtual void SendManagedMemoryStats() OVERRIDE; |
| 85 virtual bool IsInsideDraw() OVERRIDE; | 85 virtual bool IsInsideDraw() OVERRIDE; |
| 86 virtual void RenewTreePriority() OVERRIDE; | 86 virtual void RenewTreePriority() OVERRIDE; |
| 87 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) | 87 virtual void RequestScrollbarAnimationOnImplThread(base::TimeDelta delay) |
| 88 OVERRIDE; | 88 OVERRIDE; |
| 89 virtual void DidReceiveLastInputEventForBeginFrameOnImplThread( | |
| 90 base::TimeTicks frame_time) OVERRIDE; | |
| 91 virtual void DidActivatePendingTree() OVERRIDE; | 89 virtual void DidActivatePendingTree() OVERRIDE; |
| 92 | 90 |
| 93 // SchedulerClient implementation | 91 // SchedulerClient implementation |
| 94 virtual void ScheduledActionSendBeginFrameToMainThread() OVERRIDE; | 92 virtual void ScheduledActionSendBeginFrameToMainThread() OVERRIDE; |
| 95 virtual ScheduledActionDrawAndSwapResult | 93 virtual ScheduledActionDrawAndSwapResult |
| 96 ScheduledActionDrawAndSwapIfPossible() OVERRIDE; | 94 ScheduledActionDrawAndSwapIfPossible() OVERRIDE; |
| 97 virtual ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapForced() | 95 virtual ScheduledActionDrawAndSwapResult ScheduledActionDrawAndSwapForced() |
| 98 OVERRIDE; | 96 OVERRIDE; |
| 99 virtual void ScheduledActionCommit() OVERRIDE; | 97 virtual void ScheduledActionCommit() OVERRIDE; |
| 100 virtual void ScheduledActionCheckForCompletedTileUploads() OVERRIDE; | 98 virtual void ScheduledActionCheckForCompletedTileUploads() OVERRIDE; |
| (...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 260 | 258 |
| 261 base::TimeTicks smoothness_takes_priority_expiration_time_; | 259 base::TimeTicks smoothness_takes_priority_expiration_time_; |
| 262 bool renew_tree_priority_on_impl_thread_pending_; | 260 bool renew_tree_priority_on_impl_thread_pending_; |
| 263 | 261 |
| 264 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 262 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 265 }; | 263 }; |
| 266 | 264 |
| 267 } // namespace cc | 265 } // namespace cc |
| 268 | 266 |
| 269 #endif // CC_TREES_THREAD_PROXY_H_ | 267 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |