OLD | NEW |
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 "layer_position_constraint.proto"; | 7 import "layer_position_constraint.proto"; |
8 import "point3f.proto"; | 8 import "point3f.proto"; |
9 import "pointf.proto"; | 9 import "pointf.proto"; |
10 import "recording_source.proto"; | 10 import "recording_source.proto"; |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
102 optional bool should_flatten_transform_from_property_tree = 29; | 102 optional bool should_flatten_transform_from_property_tree = 29; |
103 optional int32 num_layer_or_descendants_with_copy_request = 30; | 103 optional int32 num_layer_or_descendants_with_copy_request = 30; |
104 optional SkXfermode.Mode draw_blend_mode = 31; | 104 optional SkXfermode.Mode draw_blend_mode = 31; |
105 optional bool use_parent_backface_visibility = 32; | 105 optional bool use_parent_backface_visibility = 32; |
106 optional bool use_local_transform_for_backface_visibility = 51; | 106 optional bool use_local_transform_for_backface_visibility = 51; |
107 optional bool should_check_backface_visibility = 52; | 107 optional bool should_check_backface_visibility = 52; |
108 optional Transform transform = 33; | 108 optional Transform transform = 33; |
109 optional bool transform_is_invertible = 34; | 109 optional bool transform_is_invertible = 34; |
110 optional int32 sorting_context_id = 35; | 110 optional int32 sorting_context_id = 35; |
111 optional int32 num_descendants_that_draw_content = 36; | 111 optional int32 num_descendants_that_draw_content = 36; |
| 112 optional bool has_will_change_transform_hint = 48; |
112 | 113 |
113 optional int32 scroll_clip_layer_id = 37; | 114 optional int32 scroll_clip_layer_id = 37; |
114 optional bool user_scrollable_horizontal = 38; | 115 optional bool user_scrollable_horizontal = 38; |
115 optional bool user_scrollable_vertical = 39; | 116 optional bool user_scrollable_vertical = 39; |
116 | 117 |
117 optional int32 scroll_parent_id = 40; | 118 optional int32 scroll_parent_id = 40; |
118 repeated int32 scroll_children_ids = 41; | 119 repeated int32 scroll_children_ids = 41; |
119 | 120 |
120 optional int32 clip_parent_id = 42; | 121 optional int32 clip_parent_id = 42; |
121 repeated int32 clip_children_ids = 43; | 122 repeated int32 clip_children_ids = 43; |
122 | 123 |
123 optional ScrollOffset scroll_offset = 44; | 124 optional ScrollOffset scroll_offset = 44; |
124 | 125 |
125 optional Rect update_rect = 46; | 126 optional Rect update_rect = 46; |
126 | 127 |
127 // TODO(nyquist): Figure out what to do with LayerAnimationController. | 128 // TODO(nyquist): Figure out what to do with LayerAnimationController. |
128 // optional LayerAnimationController layer_animation_controller = 48; | 129 // optional LayerAnimationController layer_animation_controller = ???; |
129 | |
130 // TODO(nyquist): Figure out what to do with FrameTimingRequests. | |
131 // repeated FrameTimingRequest frame_timing_requests = 49; | |
132 } | 130 } |
133 | 131 |
134 message PictureLayerProperties { | 132 message PictureLayerProperties { |
135 optional RecordingSource recording_source = 1; | 133 optional RecordingSource recording_source = 1; |
136 optional Region invalidation = 2; | 134 optional Region invalidation = 2; |
137 optional Rect last_updated_visible_layer_rect = 3; | 135 optional Rect last_updated_visible_layer_rect = 3; |
138 optional bool is_mask = 4; | 136 optional bool is_mask = 4; |
139 optional bool nearest_neighbor = 5; | 137 optional bool nearest_neighbor = 5; |
140 | 138 |
141 optional int64 update_source_frame_number = 6; | 139 optional int64 update_source_frame_number = 6; |
142 } | 140 } |
143 | 141 |
144 message SolidColorScrollbarLayerProperties { | 142 message SolidColorScrollbarLayerProperties { |
145 enum ScrollbarOrientation { | 143 enum ScrollbarOrientation { |
146 HORIZONTAL = 0; | 144 HORIZONTAL = 0; |
147 VERTICAL = 1; | 145 VERTICAL = 1; |
148 }; | 146 }; |
149 | 147 |
150 optional int32 scroll_layer_id = 1; | 148 optional int32 scroll_layer_id = 1; |
151 optional int32 thumb_thickness = 2; | 149 optional int32 thumb_thickness = 2; |
152 optional int32 track_start = 3; | 150 optional int32 track_start = 3; |
153 optional bool is_left_side_vertical_scrollbar = 4; | 151 optional bool is_left_side_vertical_scrollbar = 4; |
154 optional ScrollbarOrientation orientation = 5; | 152 optional ScrollbarOrientation orientation = 5; |
155 } | 153 } |
OLD | NEW |