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 bool resourceless_software_draw() const; | 83 bool resourceless_software_draw() const; |
84 gfx::Size device_viewport_size() const; | 84 gfx::Size device_viewport_size() const; |
85 bool IsActiveTree() const; | 85 bool IsActiveTree() const; |
86 bool IsPendingTree() const; | 86 bool IsPendingTree() const; |
87 bool IsRecycleTree() const; | 87 bool IsRecycleTree() const; |
88 LayerImpl* FindActiveTreeLayerById(int id); | 88 LayerImpl* FindActiveTreeLayerById(int id); |
89 LayerImpl* FindPendingTreeLayerById(int id); | 89 LayerImpl* FindPendingTreeLayerById(int id); |
90 LayerImpl* FindRecycleTreeLayerById(int id); | 90 LayerImpl* FindRecycleTreeLayerById(int id); |
91 int MaxTextureSize() const; | 91 int MaxTextureSize() const; |
92 bool PinchGestureActive() const; | 92 bool PinchGestureActive() const; |
93 base::TimeTicks CurrentFrameTimeTicks() const; | 93 BeginFrameArgs CurrentBeginFrameArgs() const; |
94 base::TimeDelta begin_impl_frame_interval() const; | 94 base::TimeDelta begin_impl_frame_interval() const; |
95 void SetNeedsCommit(); | 95 void SetNeedsCommit(); |
96 gfx::Rect DeviceViewport() const; | 96 gfx::Rect DeviceViewport() const; |
97 gfx::Size DrawViewportSize() const; | 97 gfx::Size DrawViewportSize() const; |
98 const gfx::Rect ViewportRectForTilePriority() const; | 98 const gfx::Rect ViewportRectForTilePriority() const; |
99 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( | 99 scoped_ptr<ScrollbarAnimationController> CreateScrollbarAnimationController( |
100 LayerImpl* scrolling_layer); | 100 LayerImpl* scrolling_layer); |
101 void DidAnimateScrollOffset(); | 101 void DidAnimateScrollOffset(); |
102 void InputScrollAnimationFinished(); | 102 void InputScrollAnimationFinished(); |
103 bool use_gpu_rasterization() const; | 103 bool use_gpu_rasterization() const; |
(...skipping 248 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 | 352 |
353 int render_surface_layer_list_id_; | 353 int render_surface_layer_list_id_; |
354 | 354 |
355 private: | 355 private: |
356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 356 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
357 }; | 357 }; |
358 | 358 |
359 } // namespace cc | 359 } // namespace cc |
360 | 360 |
361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 361 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |