| 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 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 LayerImpl* FindPendingTreeLayerById(int id); | 83 LayerImpl* FindPendingTreeLayerById(int id); |
| 84 int MaxTextureSize() const; | 84 int MaxTextureSize() const; |
| 85 bool PinchGestureActive() const; | 85 bool PinchGestureActive() const; |
| 86 base::TimeTicks CurrentFrameTimeTicks() const; | 86 base::TimeTicks CurrentFrameTimeTicks() const; |
| 87 base::TimeDelta begin_impl_frame_interval() const; | 87 base::TimeDelta begin_impl_frame_interval() const; |
| 88 void SetNeedsCommit(); | 88 void SetNeedsCommit(); |
| 89 gfx::Size DrawViewportSize() const; | 89 gfx::Size DrawViewportSize() const; |
| 90 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 90 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
| 91 LayerImpl* scrolling_layer); | 91 LayerImpl* scrolling_layer); |
| 92 void DidAnimateScrollOffset(); | 92 void DidAnimateScrollOffset(); |
| 93 void InputScrollAnimationFinished(); |
| 93 bool use_gpu_rasterization() const; | 94 bool use_gpu_rasterization() const; |
| 94 bool create_low_res_tiling() const; | 95 bool create_low_res_tiling() const; |
| 95 | 96 |
| 96 // Tree specific methods exposed to layer-impl tree. | 97 // Tree specific methods exposed to layer-impl tree. |
| 97 // --------------------------------------------------------------------------- | 98 // --------------------------------------------------------------------------- |
| 98 void SetNeedsRedraw(); | 99 void SetNeedsRedraw(); |
| 99 | 100 |
| 100 // TODO(nduca): These are implemented in cc files temporarily, but will become | 101 // TODO(nduca): These are implemented in cc files temporarily, but will become |
| 101 // trivial accessors in a followup patch. | 102 // trivial accessors in a followup patch. |
| 102 const LayerTreeDebugState& debug_state() const; | 103 const LayerTreeDebugState& debug_state() const; |
| (...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 333 | 334 |
| 334 int render_surface_layer_list_id_; | 335 int render_surface_layer_list_id_; |
| 335 | 336 |
| 336 private: | 337 private: |
| 337 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 338 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 338 }; | 339 }; |
| 339 | 340 |
| 340 } // namespace cc | 341 } // namespace cc |
| 341 | 342 |
| 342 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 343 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |