OLD | NEW |
---|---|
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_IMPL_H_ | 5 #ifndef CC_TREES_LAYER_TREE_IMPL_H_ |
6 #define CC_TREES_LAYER_TREE_IMPL_H_ | 6 #define CC_TREES_LAYER_TREE_IMPL_H_ |
7 | 7 |
8 #include <list> | 8 #include <list> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
82 LayerImpl* FindPendingTreeLayerById(int id); | 82 LayerImpl* FindPendingTreeLayerById(int id); |
83 int MaxTextureSize() const; | 83 int MaxTextureSize() const; |
84 bool PinchGestureActive() const; | 84 bool PinchGestureActive() const; |
85 base::TimeTicks CurrentFrameTimeTicks() const; | 85 base::TimeTicks CurrentFrameTimeTicks() const; |
86 base::TimeDelta begin_impl_frame_interval() const; | 86 base::TimeDelta begin_impl_frame_interval() const; |
87 void SetNeedsCommit(); | 87 void SetNeedsCommit(); |
88 gfx::Size DrawViewportSize() const; | 88 gfx::Size DrawViewportSize() const; |
89 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 89 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
90 LayerImpl* scrolling_layer); | 90 LayerImpl* scrolling_layer); |
91 void DidAnimateScrollOffset(); | 91 void DidAnimateScrollOffset(); |
92 void ScrollOffsetAnimationFinished(); | |
ajuma
2014/07/08 18:45:32
Since this is only going to get called for input-i
skobes
2014/07/08 21:21:58
Done.
| |
92 bool use_gpu_rasterization() const; | 93 bool use_gpu_rasterization() const; |
93 bool create_low_res_tiling() const; | 94 bool create_low_res_tiling() const; |
94 | 95 |
95 // Tree specific methods exposed to layer-impl tree. | 96 // Tree specific methods exposed to layer-impl tree. |
96 // --------------------------------------------------------------------------- | 97 // --------------------------------------------------------------------------- |
97 void SetNeedsRedraw(); | 98 void SetNeedsRedraw(); |
98 | 99 |
99 // TODO(nduca): These are implemented in cc files temporarily, but will become | 100 // TODO(nduca): These are implemented in cc files temporarily, but will become |
100 // trivial accessors in a followup patch. | 101 // trivial accessors in a followup patch. |
101 const LayerTreeDebugState& debug_state() const; | 102 const LayerTreeDebugState& debug_state() const; |
(...skipping 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
321 | 322 |
322 int render_surface_layer_list_id_; | 323 int render_surface_layer_list_id_; |
323 | 324 |
324 private: | 325 private: |
325 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 326 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
326 }; | 327 }; |
327 | 328 |
328 } // namespace cc | 329 } // namespace cc |
329 | 330 |
330 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 331 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |