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 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 MemoryHistory* memory_history() const; | 73 MemoryHistory* memory_history() const; |
74 bool device_viewport_valid_for_tile_management() const; | 74 bool device_viewport_valid_for_tile_management() const; |
75 bool IsActiveTree() const; | 75 bool IsActiveTree() const; |
76 bool IsPendingTree() const; | 76 bool IsPendingTree() const; |
77 bool IsRecycleTree() const; | 77 bool IsRecycleTree() const; |
78 LayerImpl* FindActiveTreeLayerById(int id); | 78 LayerImpl* FindActiveTreeLayerById(int id); |
79 LayerImpl* FindPendingTreeLayerById(int id); | 79 LayerImpl* FindPendingTreeLayerById(int id); |
80 int MaxTextureSize() const; | 80 int MaxTextureSize() const; |
81 bool PinchGestureActive() const; | 81 bool PinchGestureActive() const; |
82 base::TimeTicks CurrentFrameTimeTicks() const; | 82 base::TimeTicks CurrentFrameTimeTicks() const; |
83 base::Time CurrentFrameTime() const; | |
84 base::TimeTicks CurrentPhysicalTimeTicks() const; | 83 base::TimeTicks CurrentPhysicalTimeTicks() const; |
85 void SetNeedsCommit(); | 84 void SetNeedsCommit(); |
86 gfx::Size DrawViewportSize() const; | 85 gfx::Size DrawViewportSize() const; |
87 void StartScrollbarAnimation(); | 86 void StartScrollbarAnimation(); |
88 void DidAnimateScrollOffset(); | 87 void DidAnimateScrollOffset(); |
89 | 88 |
90 // Tree specific methods exposed to layer-impl tree. | 89 // Tree specific methods exposed to layer-impl tree. |
91 // --------------------------------------------------------------------------- | 90 // --------------------------------------------------------------------------- |
92 void SetNeedsRedraw(); | 91 void SetNeedsRedraw(); |
93 | 92 |
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
298 | 297 |
299 UIResourceRequestQueue ui_resource_request_queue_; | 298 UIResourceRequestQueue ui_resource_request_queue_; |
300 | 299 |
301 private: | 300 private: |
302 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 301 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
303 }; | 302 }; |
304 | 303 |
305 } // namespace cc | 304 } // namespace cc |
306 | 305 |
307 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 306 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |