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 356 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
367 | 367 |
368 int current_render_surface_list_id() const { | 368 int current_render_surface_list_id() const { |
369 return render_surface_layer_list_id_; | 369 return render_surface_layer_list_id_; |
370 } | 370 } |
371 | 371 |
372 LayerImpl* FindFirstScrollingLayerThatIsHitByPoint( | 372 LayerImpl* FindFirstScrollingLayerThatIsHitByPoint( |
373 const gfx::PointF& screen_space_point); | 373 const gfx::PointF& screen_space_point); |
374 | 374 |
375 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); | 375 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); |
376 | 376 |
377 LayerImpl* FindLayerWithWheelHandlerThatIsHitByPoint( | |
378 const gfx::PointF& screen_space_point); | |
379 | |
380 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( | 377 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( |
381 const gfx::PointF& screen_space_point); | 378 const gfx::PointF& screen_space_point); |
382 | 379 |
383 void RegisterSelection(const LayerSelection& selection); | 380 void RegisterSelection(const LayerSelection& selection); |
384 | 381 |
385 // Compute the current selection handle location and visbility with respect to | 382 // Compute the current selection handle location and visbility with respect to |
386 // the viewport. | 383 // the viewport. |
387 void GetViewportSelection(ViewportSelection* selection); | 384 void GetViewportSelection(ViewportSelection* selection); |
388 | 385 |
389 void set_top_controls_shrink_blink_size(bool shrink); | 386 void set_top_controls_shrink_blink_size(bool shrink); |
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
538 | 535 |
539 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; | 536 scoped_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; |
540 | 537 |
541 private: | 538 private: |
542 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); | 539 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); |
543 }; | 540 }; |
544 | 541 |
545 } // namespace cc | 542 } // namespace cc |
546 | 543 |
547 #endif // CC_TREES_LAYER_TREE_IMPL_H_ | 544 #endif // CC_TREES_LAYER_TREE_IMPL_H_ |
OLD | NEW |