Chromium Code Reviews| Index: cc/layers/draw_properties.h |
| diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h |
| index 3f167b9b0b653c219f001f4072d149e700e0accc..9a78d29a5c0a22bf164dae12a94b9b53ec39f259 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_handler(false), |
|
danakj
2014/06/12 18:24:41
nit: has_input_handler?
|
| 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_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 |