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

Unified Diff: cc/layers/draw_properties.h

Issue 26112002: cc: Fix hit-testing in zero-opacity layers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 2 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
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_common.cc » ('j') | cc/trees/layer_tree_host_common.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/draw_properties.h
diff --git a/cc/layers/draw_properties.h b/cc/layers/draw_properties.h
index 181d900f267c33819a12f1cbf64b870176ae9184..40d6172f8a6e2249349adfc5a3acbe6643a08c4b 100644
--- a/cc/layers/draw_properties.h
+++ b/cc/layers/draw_properties.h
@@ -30,7 +30,8 @@ struct CC_EXPORT DrawProperties {
num_unclipped_descendants(0),
descendants_can_clip_selves(false),
can_draw_directly_to_backbuffer(false),
- layer_or_descendant_has_copy_request(false) {}
+ layer_or_descendant_has_copy_request(false),
+ layer_or_descendant_has_event_handler(false) {}
// Transforms objects from content space to target surface space, where
// this layer would be drawn.
@@ -102,6 +103,10 @@ struct CC_EXPORT DrawProperties {
// If true, the layer or some layer in its sub-tree has a CopyOutputRequest
// present on it.
bool layer_or_descendant_has_copy_request;
+
+ // If true, the layer or some layer in its sub-tree has mousewheel or touch
+ // event handlers,
+ bool layer_or_descendant_has_event_handler;
};
} // namespace cc
« no previous file with comments | « no previous file | cc/trees/layer_tree_host_common.cc » ('j') | cc/trees/layer_tree_host_common.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698