| 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 <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| (...skipping 374 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 void UnregisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); | 385 void UnregisterScrollbar(ScrollbarLayerImplBase* scrollbar_layer); |
| 386 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const; | 386 ScrollbarSet ScrollbarsFor(int scroll_layer_id) const; |
| 387 | 387 |
| 388 void RegisterScrollLayer(LayerImpl* layer); | 388 void RegisterScrollLayer(LayerImpl* layer); |
| 389 void UnregisterScrollLayer(LayerImpl* layer); | 389 void UnregisterScrollLayer(LayerImpl* layer); |
| 390 | 390 |
| 391 void AddSurfaceLayer(LayerImpl* layer); | 391 void AddSurfaceLayer(LayerImpl* layer); |
| 392 void RemoveSurfaceLayer(LayerImpl* layer); | 392 void RemoveSurfaceLayer(LayerImpl* layer); |
| 393 const LayerImplList& SurfaceLayers() const { return surface_layers_; } | 393 const LayerImplList& SurfaceLayers() const { return surface_layers_; } |
| 394 | 394 |
| 395 LayerImpl* FindFirstScrollingLayerOrScrollbarLayerThatIsHitByPoint( | 395 LayerImpl* FindFirstScrollingLayerOrDrawnScrollbarThatIsHitByPoint( |
| 396 const gfx::PointF& screen_space_point); | 396 const gfx::PointF& screen_space_point); |
| 397 | 397 |
| 398 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); | 398 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); |
| 399 | 399 |
| 400 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( | 400 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( |
| 401 const gfx::PointF& screen_space_point); | 401 const gfx::PointF& screen_space_point); |
| 402 | 402 |
| 403 void RegisterSelection(const LayerSelection& selection); | 403 void RegisterSelection(const LayerSelection& selection); |
| 404 | 404 |
| 405 bool GetAndResetHandleVisibilityChanged(); | 405 bool GetAndResetHandleVisibilityChanged(); |
| (...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 | 562 |
| 563 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 563 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
| 564 | 564 |
| 565 private: | 565 private: |
| 566 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 566 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
| 567 }; | 567 }; |
| 568 | 568 |
| 569 } // namespace cc | 569 } // namespace cc |
| 570 | 570 |
| 571 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 571 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
| OLD | NEW |