diff options
author | dtapuska <dtapuska@chromium.org> | 2016-02-05 13:36:02 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-02-05 21:36:53 +0000 |
commit | f206a40dcff89bf50517b1b4e109c25c277bad43 (patch) | |
tree | f9166c0d889fc3f82c0fbb51ec8e79150cd393c6 /cc/proto | |
parent | e674fac322ad46a261ee6e9b4d1b40ee3c3958f2 (diff) | |
download | chromium_src-f206a40dcff89bf50517b1b4e109c25c277bad43.zip chromium_src-f206a40dcff89bf50517b1b4e109c25c277bad43.tar.gz chromium_src-f206a40dcff89bf50517b1b4e109c25c277bad43.tar.bz2 |
Communicate whether passive event listeners exist to cc.
cc does nothing with these new fields being set other than plumbing them
through the pipeline to be later queried on the layer_impl.
Add an additional field whether touch event listeners exist on the layer
(which unfortunately is effectively implement as an entire document field
in the blink EventListenerRegistry; this can be improved). There still
exists TouchRegionRects that indicate the areas of blocking event
listeners; but whether a passive event listener exists will be indicated
in this field. It is intended that this model will be replicated
with property trees when it is ready.
BUG=489802
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel
Review URL: https://codereview.chromium.org/1577263004
Cr-Commit-Position: refs/heads/master@{#373915}
Diffstat (limited to 'cc/proto')
-rw-r--r-- | cc/proto/layer_tree_host.proto | 3 | ||||
-rw-r--r-- | cc/proto/layer_tree_settings.proto | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/cc/proto/layer_tree_host.proto b/cc/proto/layer_tree_host.proto index 9a6ac11..d1d78e7 100644 --- a/cc/proto/layer_tree_host.proto +++ b/cc/proto/layer_tree_host.proto @@ -53,6 +53,7 @@ message LayerTreeHost { optional PropertyTrees property_trees = 31; optional uint32 surface_id_namespace = 32; optional uint32 next_surface_sequence = 33; - optional bool have_wheel_event_handlers = 34; + optional uint32 wheel_event_listener_properties = 34; optional bool have_scroll_event_handlers = 35; + optional uint32 touch_event_listener_properties = 36; } diff --git a/cc/proto/layer_tree_settings.proto b/cc/proto/layer_tree_settings.proto index 1c0bb85..844d75b1 100644 --- a/cc/proto/layer_tree_settings.proto +++ b/cc/proto/layer_tree_settings.proto @@ -70,4 +70,5 @@ message LayerTreeSettings { optional int32 max_staging_buffer_usage_in_bytes = 47; optional ManagedMemoryPolicy memory_policy = 48; optional LayerTreeDebugState initial_debug_state = 49; + optional bool use_mouse_wheel_gestures = 50; } |