Index: cc/layers/draw_properties.h |
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h |
index 3f167b9b0b653c219f001f4072d149e700e0accc..44be54b2ca10147843c9b386c5896c8d9cfcca23 100644 |
--- a/cc/layers/draw_properties.h |
+++ b/cc/layers/draw_properties.h |
@@ -29,6 +29,7 @@ struct CC_EXPORT DrawProperties { |
num_descendants_that_draw_content(0), |
num_unclipped_descendants(0), |
layer_or_descendant_has_copy_request(false), |
+ layer_or_descendant_has_input_handler(false), |
has_child_with_a_scroll_parent(false), |
sorted_for_recursion(false), |
index_of_first_descendants_addition(0), |
@@ -102,6 +103,9 @@ struct CC_EXPORT DrawProperties { |
// present on it. |
bool layer_or_descendant_has_copy_request; |
+ // If true, the layer or one of its descendants has a wheel or touch handler. |
+ bool layer_or_descendant_has_input_handler; |
+ |
// This is true if the layer has any direct child that has a scroll parent. |
// This layer will not be the scroll parent in this case. This information |
// lets us avoid work in CalculateDrawPropertiesInternal -- if none of our |