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