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

Unified Diff: cc/trees/layer_tree_host_common.h

Issue 266913021: Hit test on the layer tree rather than the RSLL (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 side-by-side diff with in-line comments
Download patch
Index: cc/trees/layer_tree_host_common.h
diff --git a/cc/trees/layer_tree_host_common.h b/cc/trees/layer_tree_host_common.h
index de9a713ccb6b0f44488490c4d1f1d30e23104f6d..a5d19e5b58f696b5d935c105e57e26e42f83f617 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -98,16 +98,16 @@ class CC_EXPORT LayerTreeHostCommon {
// Performs hit testing for a given render_surface_layer_list.
static LayerImpl* FindFirstScrollingLayerThatIsHitByPoint(
const gfx::PointF& screen_space_point,
- const LayerImplList& render_surface_layer_list);
+ LayerImpl* root);
// Performs hit testing for a given render_surface_layer_list.
static LayerImpl* FindLayerThatIsHitByPoint(
const gfx::PointF& screen_space_point,
- const LayerImplList& render_surface_layer_list);
+ LayerImpl* root);
static LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion(
const gfx::PointF& screen_space_point,
- const LayerImplList& render_surface_layer_list);
+ LayerImpl* root);
static bool LayerHasTouchEventHandlersAt(
const gfx::PointF& screen_space_point,

Powered by Google App Engine
This is Rietveld 408576698