| 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 "display_item.proto"; |
| 7 import "layer_position_constraint.proto"; | 8 import "layer_position_constraint.proto"; |
| 8 import "point3f.proto"; | 9 import "point3f.proto"; |
| 9 import "pointf.proto"; | 10 import "pointf.proto"; |
| 10 import "recording_source.proto"; | |
| 11 import "region.proto"; | 11 import "region.proto"; |
| 12 import "rect.proto"; | 12 import "rect.proto"; |
| 13 import "scroll_offset.proto"; | 13 import "scroll_offset.proto"; |
| 14 import "size.proto"; | 14 import "size.proto"; |
| 15 import "skxfermode.proto"; | 15 import "skxfermode.proto"; |
| 16 import "transform.proto"; | 16 import "transform.proto"; |
| 17 import "vector2df.proto"; | 17 import "vector2df.proto"; |
| 18 | 18 |
| 19 package cc.proto; | 19 package cc.proto; |
| 20 | 20 |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 123 | 123 |
| 124 optional ScrollOffset scroll_offset = 44; | 124 optional ScrollOffset scroll_offset = 44; |
| 125 | 125 |
| 126 optional Rect update_rect = 46; | 126 optional Rect update_rect = 46; |
| 127 | 127 |
| 128 // TODO(nyquist): Figure out what to do with LayerAnimationController. | 128 // TODO(nyquist): Figure out what to do with LayerAnimationController. |
| 129 // optional LayerAnimationController layer_animation_controller = ???; | 129 // optional LayerAnimationController layer_animation_controller = ???; |
| 130 } | 130 } |
| 131 | 131 |
| 132 message PictureLayerProperties { | 132 message PictureLayerProperties { |
| 133 optional RecordingSource recording_source = 1; | 133 optional Region invalidation = 1; |
| 134 optional Region invalidation = 2; | 134 optional Rect last_updated_visible_layer_rect = 2; |
| 135 optional Rect last_updated_visible_layer_rect = 3; | 135 optional bool is_mask = 3; |
| 136 optional bool is_mask = 4; | 136 optional bool nearest_neighbor = 4; |
| 137 optional bool nearest_neighbor = 5; | |
| 138 | 137 |
| 139 optional int64 update_source_frame_number = 6; | 138 optional int64 update_source_frame_number = 5; |
| 139 |
| 140 optional Rect recorded_viewport = 6; |
| 141 optional Size size = 7; |
| 142 optional int64 slow_down_raster_scale_factor_for_debug = 8; |
| 143 optional bool generate_discardable_images_metadata = 9; |
| 144 optional bool requires_clear = 10; |
| 145 optional bool is_solid_color = 11; |
| 146 optional bool clear_canvas_with_debug_color = 12; |
| 147 optional uint64 solid_color = 13; |
| 148 optional uint64 background_color = 14; |
| 149 optional DisplayItemList display_list = 15; |
| 140 } | 150 } |
| 141 | 151 |
| 142 message SolidColorScrollbarLayerProperties { | 152 message SolidColorScrollbarLayerProperties { |
| 143 enum ScrollbarOrientation { | 153 enum ScrollbarOrientation { |
| 144 HORIZONTAL = 0; | 154 HORIZONTAL = 0; |
| 145 VERTICAL = 1; | 155 VERTICAL = 1; |
| 146 }; | 156 }; |
| 147 | 157 |
| 148 optional int32 scroll_layer_id = 1; | 158 optional int32 scroll_layer_id = 1; |
| 149 optional int32 thumb_thickness = 2; | 159 optional int32 thumb_thickness = 2; |
| 150 optional int32 track_start = 3; | 160 optional int32 track_start = 3; |
| 151 optional bool is_left_side_vertical_scrollbar = 4; | 161 optional bool is_left_side_vertical_scrollbar = 4; |
| 152 optional ScrollbarOrientation orientation = 5; | 162 optional ScrollbarOrientation orientation = 5; |
| 153 } | 163 } |
| OLD | NEW |