| 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; | 60 virtual scoped_ptr<base::Value> AsValue() const OVERRIDE; |
| 61 virtual bool CommitPendingForTesting() OVERRIDE; | 61 virtual bool CommitPendingForTesting() OVERRIDE; |
| 62 virtual std::string SchedulerStateAsStringForTesting() OVERRIDE; | 62 virtual std::string SchedulerStateAsStringForTesting() OVERRIDE; |
| 63 | 63 |
| 64 // LayerTreeHostImplClient implementation | 64 // LayerTreeHostImplClient implementation |
| 65 virtual void DidTryInitializeRendererOnImplThread( | 65 virtual void DidTryInitializeRendererOnImplThread( |
| 66 bool success, | 66 bool success, |
| 67 scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; | 67 scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE; |
| 68 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; | 68 virtual void DidLoseOutputSurfaceOnImplThread() OVERRIDE; |
| 69 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; | 69 virtual void OnSwapBuffersCompleteOnImplThread() OVERRIDE; |
| 70 virtual void BeginFrameOnImplThread(base::TimeTicks frame_time) OVERRIDE; | 70 virtual void BeginFrameOnImplThread(BeginFrameArgs args) OVERRIDE; |
| 71 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; | 71 virtual void OnCanDrawStateChanged(bool can_draw) OVERRIDE; |
| 72 virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE; | 72 virtual void OnHasPendingTreeStateChanged(bool has_pending_tree) OVERRIDE; |
| 73 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; | 73 virtual void SetNeedsRedrawOnImplThread() OVERRIDE; |
| 74 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; | 74 virtual void SetNeedsRedrawRectOnImplThread(gfx::Rect dirty_rect) OVERRIDE; |
| 75 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; | 75 virtual void DidInitializeVisibleTileOnImplThread() OVERRIDE; |
| 76 virtual void SetNeedsCommitOnImplThread() OVERRIDE; | 76 virtual void SetNeedsCommitOnImplThread() OVERRIDE; |
| 77 virtual void PostAnimationEventsToMainThreadOnImplThread( | 77 virtual void PostAnimationEventsToMainThreadOnImplThread( |
| 78 scoped_ptr<AnimationEventsVector> queue, | 78 scoped_ptr<AnimationEventsVector> queue, |
| 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, |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 242 | 242 |
| 243 base::TimeTicks smoothness_takes_priority_expiration_time_; | 243 base::TimeTicks smoothness_takes_priority_expiration_time_; |
| 244 bool renew_tree_priority_on_impl_thread_pending_; | 244 bool renew_tree_priority_on_impl_thread_pending_; |
| 245 | 245 |
| 246 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); | 246 DISALLOW_COPY_AND_ASSIGN(ThreadProxy); |
| 247 }; | 247 }; |
| 248 | 248 |
| 249 } // namespace cc | 249 } // namespace cc |
| 250 | 250 |
| 251 #endif // CC_TREES_THREAD_PROXY_H_ | 251 #endif // CC_TREES_THREAD_PROXY_H_ |
| OLD | NEW |