Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Side by Side Diff: cc/trees/layer_tree_impl.h

Issue 1878323002: cc: Scroll on main when possible incorrect hit testing hits scrollbar. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make sure the unit test fails without the patch Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after
392 void AddSurfaceLayer(LayerImpl* layer); 392 void AddSurfaceLayer(LayerImpl* layer);
393 void RemoveSurfaceLayer(LayerImpl* layer); 393 void RemoveSurfaceLayer(LayerImpl* layer);
394 const std::vector<LayerImpl*>& SurfaceLayers() const { 394 const std::vector<LayerImpl*>& SurfaceLayers() const {
395 return surface_layers_; 395 return surface_layers_;
396 } 396 }
397 397
398 int current_render_surface_list_id() const { 398 int current_render_surface_list_id() const {
399 return render_surface_layer_list_id_; 399 return render_surface_layer_list_id_;
400 } 400 }
401 401
402 LayerImpl* FindFirstScrollingLayerThatIsHitByPoint( 402 LayerImpl* FindFirstScrollingLayerOrScrollbarLayerThatIsHitByPoint(
403 const gfx::PointF& screen_space_point); 403 const gfx::PointF& screen_space_point);
404 404
405 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point); 405 LayerImpl* FindLayerThatIsHitByPoint(const gfx::PointF& screen_space_point);
406 406
407 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion( 407 LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion(
408 const gfx::PointF& screen_space_point); 408 const gfx::PointF& screen_space_point);
409 409
410 void RegisterSelection(const LayerSelection& selection); 410 void RegisterSelection(const LayerSelection& selection);
411 411
412 // Compute the current selection handle location and visbility with respect to 412 // Compute the current selection handle location and visbility with respect to
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
590 590
591 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_; 591 std::unique_ptr<PendingPageScaleAnimation> pending_page_scale_animation_;
592 592
593 private: 593 private:
594 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl); 594 DISALLOW_COPY_AND_ASSIGN(LayerTreeImpl);
595 }; 595 };
596 596
597 } // namespace cc 597 } // namespace cc
598 598
599 #endif // CC_TREES_LAYER_TREE_IMPL_H_ 599 #endif // CC_TREES_LAYER_TREE_IMPL_H_
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | cc/trees/layer_tree_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698