| 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 24 matching lines...) Expand all Loading... |
| 35 class FrameRateCounter; | 35 class FrameRateCounter; |
| 36 class HeadsUpDisplayLayerImpl; | 36 class HeadsUpDisplayLayerImpl; |
| 37 class LayerScrollOffsetDelegateProxy; | 37 class LayerScrollOffsetDelegateProxy; |
| 38 class LayerTreeDebugState; | 38 class LayerTreeDebugState; |
| 39 class LayerTreeHostImpl; | 39 class LayerTreeHostImpl; |
| 40 class LayerTreeImpl; | 40 class LayerTreeImpl; |
| 41 class LayerTreeSettings; | 41 class LayerTreeSettings; |
| 42 class MemoryHistory; | 42 class MemoryHistory; |
| 43 class OutputSurface; | 43 class OutputSurface; |
| 44 class PaintTimeCounter; | 44 class PaintTimeCounter; |
| 45 class PictureLayerImpl; |
| 45 class Proxy; | 46 class Proxy; |
| 46 class ResourceProvider; | 47 class ResourceProvider; |
| 47 class TileManager; | 48 class TileManager; |
| 48 class UIResourceRequest; | 49 class UIResourceRequest; |
| 49 struct RendererCapabilities; | 50 struct RendererCapabilities; |
| 50 | 51 |
| 51 typedef std::list<UIResourceRequest> UIResourceRequestQueue; | 52 typedef std::list<UIResourceRequest> UIResourceRequestQueue; |
| 52 | 53 |
| 53 class CC_EXPORT LayerTreeImpl { | 54 class CC_EXPORT LayerTreeImpl { |
| 54 public: | 55 public: |
| (...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 252 } | 253 } |
| 253 | 254 |
| 254 LayerImpl* FindFirstScrollingLayerThatIsHitByPoint( | 255 LayerImpl* FindFirstScrollingLayerThatIsHitByPoint( |
| 255 const gfx::PointF& screen_space_point); | 256 const gfx::PointF& screen_space_point); |
| 256 | 257 |
| 257 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); | 258 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); |
| 258 | 259 |
| 259 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( | 260 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( |
| 260 const gfx::PointF& screen_space_point); | 261 const gfx::PointF& screen_space_point); |
| 261 | 262 |
| 263 void RegisterPictureLayerImpl(PictureLayerImpl* layer); |
| 264 void UnregisterPictureLayerImpl(PictureLayerImpl* layer); |
| 265 |
| 262 protected: | 266 protected: |
| 263 explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); | 267 explicit LayerTreeImpl(LayerTreeHostImpl* layer_tree_host_impl); |
| 264 void ReleaseResourcesRecursive(LayerImpl* current); | 268 void ReleaseResourcesRecursive(LayerImpl* current); |
| 265 | 269 |
| 266 LayerTreeHostImpl* layer_tree_host_impl_; | 270 LayerTreeHostImpl* layer_tree_host_impl_; |
| 267 int source_frame_number_; | 271 int source_frame_number_; |
| 268 scoped_ptr<LayerImpl> root_layer_; | 272 scoped_ptr<LayerImpl> root_layer_; |
| 269 HeadsUpDisplayLayerImpl* hud_layer_; | 273 HeadsUpDisplayLayerImpl* hud_layer_; |
| 270 LayerImpl* currently_scrolling_layer_; | 274 LayerImpl* currently_scrolling_layer_; |
| 271 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; | 275 LayerScrollOffsetDelegate* root_layer_scroll_offset_delegate_; |
| (...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 | 318 |
| 315 int render_surface_layer_list_id_; | 319 int render_surface_layer_list_id_; |
| 316 | 320 |
| 317 private: | 321 private: |
| 318 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 322 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 319 }; | 323 }; |
| 320 | 324 |
| 321 } // namespace cc | 325 } // namespace cc |
| 322 | 326 |
| 323 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 327 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |