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

Side by Side Diff: cc/proto/layer.proto

Issue 1577263004: Communicate whether passive event listeners exist to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master_wheel_passive_listeners
Patch Set: Rebase Created 4 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 import "display_list_recording_source.proto"; 7 import "display_list_recording_source.proto";
8 import "layer_position_constraint.proto"; 8 import "layer_position_constraint.proto";
9 import "point3f.proto"; 9 import "point3f.proto";
10 import "pointf.proto"; 10 import "pointf.proto";
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 optional Vector2dF offset_to_transform_parent = 7; 79 optional Vector2dF offset_to_transform_parent = 7;
80 optional bool double_sided = 8; 80 optional bool double_sided = 8;
81 optional bool draws_content = 9; 81 optional bool draws_content = 9;
82 optional bool hide_layer_and_subtree = 10; 82 optional bool hide_layer_and_subtree = 10;
83 optional bool has_render_surface = 11; 83 optional bool has_render_surface = 11;
84 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321. 84 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321.
85 // repeated FilterOperation filters = 12; 85 // repeated FilterOperation filters = 12;
86 // repeated FilterOperation background_filters = 13; 86 // repeated FilterOperation background_filters = 13;
87 optional bool masks_to_bounds = 14; 87 optional bool masks_to_bounds = 14;
88 optional uint32 main_thread_scrolling_reasons = 15; 88 optional uint32 main_thread_scrolling_reasons = 15;
89 optional bool have_wheel_event_handlers = 16; 89 optional int32 wheel_event_properties = 16;
90 optional bool have_scroll_event_handlers = 17; 90 optional bool have_scroll_event_handlers = 17;
91 optional Region non_fast_scrollable_region = 18; 91 optional Region non_fast_scrollable_region = 18;
92 optional Region touch_event_handler_region = 19; 92 optional Region touch_event_handler_region = 19;
93 optional int32 scroll_blocks_on = 20; 93 optional int32 scroll_blocks_on = 20;
94 optional bool contents_opaque = 21; 94 optional bool contents_opaque = 21;
95 optional float opacity = 22; 95 optional float opacity = 22;
96 optional SkXfermode.Mode blend_mode = 23; 96 optional SkXfermode.Mode blend_mode = 23;
97 optional bool is_root_for_isolated_group = 24; 97 optional bool is_root_for_isolated_group = 24;
98 optional PointF position = 25; 98 optional PointF position = 25;
99 optional bool is_container_for_fixed_position_layers = 26; 99 optional bool is_container_for_fixed_position_layers = 26;
(...skipping 17 matching lines...) Expand all
117 117
118 optional int32 clip_parent_id = 42; 118 optional int32 clip_parent_id = 42;
119 repeated int32 clip_children_ids = 43; 119 repeated int32 clip_children_ids = 43;
120 120
121 optional ScrollOffset scroll_offset = 44; 121 optional ScrollOffset scroll_offset = 44;
122 optional Vector2dF scroll_compensation_adjustment = 45; 122 optional Vector2dF scroll_compensation_adjustment = 45;
123 123
124 optional Rect update_rect = 46; 124 optional Rect update_rect = 46;
125 optional bool stacking_order_changed = 47; 125 optional bool stacking_order_changed = 47;
126 126
127 optional int32 touch_event_properties = 48;
128
127 // TODO(nyquist): Figure out what to do with LayerAnimationController. 129 // TODO(nyquist): Figure out what to do with LayerAnimationController.
128 // optional LayerAnimationController layer_animation_controller = 48; 130 // optional LayerAnimationController layer_animation_controller = 49;
129 131
130 // TODO(nyquist): Figure out what to do with FrameTimingRequests. 132 // TODO(nyquist): Figure out what to do with FrameTimingRequests.
131 // repeated FrameTimingRequest frame_timing_requests = 49; 133 // repeated FrameTimingRequest frame_timing_requests = 50;
132 } 134 }
133 135
134 message PictureLayerProperties { 136 message PictureLayerProperties {
135 optional DisplayListRecordingSource recording_source = 1; 137 optional DisplayListRecordingSource recording_source = 1;
136 optional Region invalidation = 2; 138 optional Region invalidation = 2;
137 optional Rect last_updated_visible_layer_rect = 3; 139 optional Rect last_updated_visible_layer_rect = 3;
138 optional bool is_mask = 4; 140 optional bool is_mask = 4;
139 optional bool nearest_neighbor = 5; 141 optional bool nearest_neighbor = 5;
140 142
141 optional int64 update_source_frame_number = 6; 143 optional int64 update_source_frame_number = 6;
142 } 144 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698