| 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_LAYER_TREE_IMPL_H_ | 5 #ifndef CC_LAYER_TREE_IMPL_H_ |
| 6 #define CC_LAYER_TREE_IMPL_H_ | 6 #define CC_LAYER_TREE_IMPL_H_ |
| 7 | 7 |
| 8 #include "base/hash_tables.h" | 8 #include "base/hash_tables.h" |
| 9 #include "cc/layer_impl.h" | 9 #include "cc/layer_impl.h" |
| 10 | 10 |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 114 | 114 |
| 115 // Updates draw properties and render surface layer list | 115 // Updates draw properties and render surface layer list |
| 116 void UpdateDrawProperties(); | 116 void UpdateDrawProperties(); |
| 117 | 117 |
| 118 void ClearRenderSurfaces(); | 118 void ClearRenderSurfaces(); |
| 119 | 119 |
| 120 bool AreVisibleResourcesReady() const; | 120 bool AreVisibleResourcesReady() const; |
| 121 | 121 |
| 122 const LayerList& RenderSurfaceLayerList() const; | 122 const LayerList& RenderSurfaceLayerList() const; |
| 123 | 123 |
| 124 gfx::Size ContentSize() const; | 124 gfx::Size ScrollableSize() const; |
| 125 | 125 |
| 126 LayerImpl* LayerById(int id); | 126 LayerImpl* LayerById(int id); |
| 127 | 127 |
| 128 // These should be called by LayerImpl's ctor/dtor. | 128 // These should be called by LayerImpl's ctor/dtor. |
| 129 void RegisterLayer(LayerImpl* layer); | 129 void RegisterLayer(LayerImpl* layer); |
| 130 void UnregisterLayer(LayerImpl* layer); | 130 void UnregisterLayer(LayerImpl* layer); |
| 131 | 131 |
| 132 AnimationRegistrar* animationRegistrar() const; | 132 AnimationRegistrar* animationRegistrar() const; |
| 133 | 133 |
| 134 void PushPersistedState(LayerTreeImpl* pendingTree); | 134 void PushPersistedState(LayerTreeImpl* pendingTree); |
| (...skipping 27 matching lines...) Expand all Loading... |
| 162 LayerList render_surface_layer_list_; | 162 LayerList render_surface_layer_list_; |
| 163 | 163 |
| 164 bool contents_textures_purged_; | 164 bool contents_textures_purged_; |
| 165 | 165 |
| 166 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 166 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 167 }; | 167 }; |
| 168 | 168 |
| 169 } | 169 } |
| 170 | 170 |
| 171 #endif // CC_LAYER_TREE_IMPL_H_ | 171 #endif // CC_LAYER_TREE_IMPL_H_ |
| OLD | NEW |