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

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: Minor cleanups. 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 5090c6977e02a4d4c1ed85156c2f74f6f023b860..ab475464f25d828e53085f128a026f15c58df3af 100644
--- a/cc/trees/layer_tree_host_common.h
+++ b/cc/trees/layer_tree_host_common.h
@@ -99,24 +99,6 @@ class CC_EXPORT LayerTreeHostCommon {
CalcDrawPropsImplInputsForTesting;
static void CalculateDrawProperties(CalcDrawPropsImplInputs* inputs);
- // 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);
-
- // 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);
-
- static LayerImpl* FindLayerThatIsHitByPointInTouchHandlerRegion(
- const gfx::PointF& screen_space_point,
- const LayerImplList& render_surface_layer_list);
-
- static bool LayerHasTouchEventHandlersAt(
- const gfx::PointF& screen_space_point,
- LayerImpl* layer_impl);
-
template <typename LayerType>
static bool RenderSurfaceContributesToTarget(LayerType*,
int target_surface_layer_id);
@@ -238,7 +220,7 @@ LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType,
true,
false,
render_surface_layer_list,
- 0) {
+ 1) {
danakj 2014/05/09 18:43:48 can these stay 0 ie invalid to be overridden by te
Ian Vollick 2014/05/10 02:57:17 Done.
DCHECK(root_layer);
DCHECK(render_surface_layer_list);
}
@@ -262,7 +244,7 @@ LayerTreeHostCommon::CalcDrawPropsInputsForTesting<LayerType,
true,
false,
render_surface_layer_list,
- 0) {
+ 1) {
DCHECK(root_layer);
DCHECK(render_surface_layer_list);
}

Powered by Google App Engine
This is Rietveld 408576698