| 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::TimeTicks CurrentPhysicalTimeTicks() const; | |
| 84 void SetNeedsCommit(); | 83 void SetNeedsCommit(); |
| 85 gfx::Size DrawViewportSize() const; | 84 gfx::Size DrawViewportSize() const; |
| 86 void StartScrollbarAnimation(); | 85 void StartScrollbarAnimation(); |
| 87 void DidAnimateScrollOffset(); | 86 void DidAnimateScrollOffset(); |
| 88 | 87 |
| 89 // Tree specific methods exposed to layer-impl tree. | 88 // Tree specific methods exposed to layer-impl tree. |
| 90 // --------------------------------------------------------------------------- | 89 // --------------------------------------------------------------------------- |
| 91 void SetNeedsRedraw(); | 90 void SetNeedsRedraw(); |
| 92 | 91 |
| 93 // TODO(nduca): These are implemented in cc files temporarily, but will become | 92 // TODO(nduca): These are implemented in cc files temporarily, but will become |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 295 | 294 |
| 296 UIResourceRequestQueue ui_resource_request_queue_; | 295 UIResourceRequestQueue ui_resource_request_queue_; |
| 297 | 296 |
| 298 private: | 297 private: |
| 299 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 298 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 300 }; | 299 }; |
| 301 | 300 |
| 302 } // namespace cc | 301 } // namespace cc |
| 303 | 302 |
| 304 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 303 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |