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 <list> | 8 #include <list> |
9 #include <set> | 9 #include <set> |
10 #include <string> | 10 #include <string> |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
91 size_t limit_bytes, | 91 size_t limit_bytes, |
92 int priority_cutoff) = 0; | 92 int priority_cutoff) = 0; |
93 virtual bool IsInsideDraw() = 0; | 93 virtual bool IsInsideDraw() = 0; |
94 virtual void RenewTreePriority() = 0; | 94 virtual void RenewTreePriority() = 0; |
95 virtual void PostDelayedScrollbarFadeOnImplThread( | 95 virtual void PostDelayedScrollbarFadeOnImplThread( |
96 const base::Closure& start_fade, | 96 const base::Closure& start_fade, |
97 base::TimeDelta delay) = 0; | 97 base::TimeDelta delay) = 0; |
98 virtual void DidActivateSyncTree() = 0; | 98 virtual void DidActivateSyncTree() = 0; |
99 virtual void DidManageTiles() = 0; | 99 virtual void DidManageTiles() = 0; |
100 | 100 |
101 // Called when page scale animation has completed, but before the commit. | |
102 virtual void DidCompletePageScaleAnimationBeforeCommit() = 0; | |
aelias_OOO_until_Jul13
2014/11/22 03:38:11
I don't think it's needed to say "BeforeCommit" in
please use gerrit instead
2014/11/24 20:22:31
Done.
| |
103 | |
101 protected: | 104 protected: |
102 virtual ~LayerTreeHostImplClient() {} | 105 virtual ~LayerTreeHostImplClient() {} |
103 }; | 106 }; |
104 | 107 |
105 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering | 108 // LayerTreeHostImpl owns the LayerImpl trees as well as associated rendering |
106 // state. | 109 // state. |
107 class CC_EXPORT LayerTreeHostImpl | 110 class CC_EXPORT LayerTreeHostImpl |
108 : public InputHandler, | 111 : public InputHandler, |
109 public RendererClient, | 112 public RendererClient, |
110 public TileManagerClient, | 113 public TileManagerClient, |
(...skipping 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
705 | 708 |
706 bool requires_high_res_to_draw_; | 709 bool requires_high_res_to_draw_; |
707 bool required_for_draw_tile_is_top_of_raster_queue_; | 710 bool required_for_draw_tile_is_top_of_raster_queue_; |
708 | 711 |
709 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); | 712 DISALLOW_COPY_AND_ASSIGN(LayerTreeHostImpl); |
710 }; | 713 }; |
711 | 714 |
712 } // namespace cc | 715 } // namespace cc |
713 | 716 |
714 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ | 717 #endif // CC_TREES_LAYER_TREE_HOST_IMPL_H_ |
OLD | NEW |