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_LAYER_TREE_HOST_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
7 | 7 |
8 #include <set> | 8 #include <set> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 virtual void SetNeedsCommitOnImplThread() = 0; | 110 virtual void SetNeedsCommitOnImplThread() = 0; |
111 virtual void SetNeedsPrepareTilesOnImplThread() = 0; | 111 virtual void SetNeedsPrepareTilesOnImplThread() = 0; |
112 virtual void SetVideoNeedsBeginFrames(bool needs_begin_frames) = 0; | 112 virtual void SetVideoNeedsBeginFrames(bool needs_begin_frames) = 0; |
113 virtual void PostAnimationEventsToMainThreadOnImplThread( | 113 virtual void PostAnimationEventsToMainThreadOnImplThread( |
114 scoped_ptr<AnimationEventsVector> events) = 0; | 114 scoped_ptr<AnimationEventsVector> events) = 0; |
115 virtual bool IsInsideDraw() = 0; | 115 virtual bool IsInsideDraw() = 0; |
116 virtual void RenewTreePriority() = 0; | 116 virtual void RenewTreePriority() = 0; |
117 virtual void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, | 117 virtual void PostDelayedAnimationTaskOnImplThread(const base::Closure& task, |
118 base::TimeDelta delay) = 0; | 118 base::TimeDelta delay) = 0; |
119 virtual void DidActivateSyncTree() = 0; | 119 virtual void DidActivateSyncTree() = 0; |
| 120 virtual void WillPrepareTiles() = 0; |
120 virtual void DidPrepareTiles() = 0; | 121 virtual void DidPrepareTiles() = 0; |
121 | 122 |
122 // Called when page scale animation has completed on the impl thread. | 123 // Called when page scale animation has completed on the impl thread. |
123 virtual void DidCompletePageScaleAnimationOnImplThread() = 0; | 124 virtual void DidCompletePageScaleAnimationOnImplThread() = 0; |
124 | 125 |
125 // Called when output surface asks for a draw. | 126 // Called when output surface asks for a draw. |
126 virtual void OnDrawForOutputSurface() = 0; | 127 virtual void OnDrawForOutputSurface() = 0; |
127 | 128 |
128 virtual void PostFrameTimingEventsOnImplThread( | 129 virtual void PostFrameTimingEventsOnImplThread( |
129 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, | 130 scoped_ptr<FrameTimingTracker::CompositeTimingSet> composite_events, |
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
815 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; | 816 scoped_ptr<FrameTimingTracker> frame_timing_tracker_; |
816 | 817 |
817 scoped_ptr<Viewport> viewport_; | 818 scoped_ptr<Viewport> viewport_; |
818 | 819 |
819 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 820 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
820 }; | 821 }; |
821 | 822 |
822 } // namespace cc | 823 } // namespace cc |
823 | 824 |
824 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 825 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |