| 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_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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 78 optional Vector2dF offset_to_transform_parent = 7; | 78 optional Vector2dF offset_to_transform_parent = 7; |
| 79 optional bool double_sided = 8; | 79 optional bool double_sided = 8; |
| 80 optional bool draws_content = 9; | 80 optional bool draws_content = 9; |
| 81 optional bool hide_layer_and_subtree = 10; | 81 optional bool hide_layer_and_subtree = 10; |
| 82 optional bool has_render_surface = 11; | 82 optional bool has_render_surface = 11; |
| 83 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321. | 83 // TODO(nyquist): Add support for FilterOperation. See crbug.com/541321. |
| 84 // repeated FilterOperation filters = 12; | 84 // repeated FilterOperation filters = 12; |
| 85 // repeated FilterOperation background_filters = 13; | 85 // repeated FilterOperation background_filters = 13; |
| 86 optional bool masks_to_bounds = 14; | 86 optional bool masks_to_bounds = 14; |
| 87 optional bool should_scroll_on_main_thread = 15; | 87 optional bool should_scroll_on_main_thread = 15; |
| 88 optional bool have_wheel_event_handlers = 16; | 88 optional int32 wheel_event_properties = 16; |
| 89 optional bool have_scroll_event_handlers = 17; | 89 optional bool have_scroll_event_handlers = 17; |
| 90 optional Region non_fast_scrollable_region = 18; | 90 optional Region non_fast_scrollable_region = 18; |
| 91 optional Region touch_event_handler_region = 19; | 91 optional Region touch_event_handler_region = 19; |
| 92 optional int32 scroll_blocks_on = 20; | 92 optional int32 scroll_blocks_on = 20; |
| 93 optional bool contents_opaque = 21; | 93 optional bool contents_opaque = 21; |
| 94 optional float opacity = 22; | 94 optional float opacity = 22; |
| 95 optional SkXfermode.Mode blend_mode = 23; | 95 optional SkXfermode.Mode blend_mode = 23; |
| 96 optional bool is_root_for_isolated_group = 24; | 96 optional bool is_root_for_isolated_group = 24; |
| 97 optional PointF position = 25; | 97 optional PointF position = 25; |
| 98 optional bool is_container_for_fixed_position_layers = 26; | 98 optional bool is_container_for_fixed_position_layers = 26; |
| (...skipping 17 matching lines...) Expand all Loading... |
| 116 | 116 |
| 117 optional int32 clip_parent_id = 42; | 117 optional int32 clip_parent_id = 42; |
| 118 repeated int32 clip_children_ids = 43; | 118 repeated int32 clip_children_ids = 43; |
| 119 | 119 |
| 120 optional ScrollOffset scroll_offset = 44; | 120 optional ScrollOffset scroll_offset = 44; |
| 121 optional Vector2dF scroll_compensation_adjustment = 45; | 121 optional Vector2dF scroll_compensation_adjustment = 45; |
| 122 | 122 |
| 123 optional Rect update_rect = 46; | 123 optional Rect update_rect = 46; |
| 124 optional bool stacking_order_changed = 47; | 124 optional bool stacking_order_changed = 47; |
| 125 | 125 |
| 126 optional int32 touch_event_properties = 48; |
| 127 |
| 126 // TODO(nyquist): Figure out what to do with LayerAnimationController. | 128 // TODO(nyquist): Figure out what to do with LayerAnimationController. |
| 127 // optional LayerAnimationController layer_animation_controller = 48; | 129 // optional LayerAnimationController layer_animation_controller = 49; |
| 128 | 130 |
| 129 // TODO(nyquist): Figure out what to do with FrameTimingRequests. | 131 // TODO(nyquist): Figure out what to do with FrameTimingRequests. |
| 130 // repeated FrameTimingRequest frame_timing_requests = 49; | 132 // repeated FrameTimingRequest frame_timing_requests = 50; |
| 131 } | 133 } |
| 132 | 134 |
| 133 message PictureLayerProperties { | 135 message PictureLayerProperties { |
| 134 optional DisplayListRecordingSource recording_source = 1; | 136 optional DisplayListRecordingSource recording_source = 1; |
| 135 optional Region invalidation = 2; | 137 optional Region invalidation = 2; |
| 136 optional Rect last_updated_visible_layer_rect = 3; | 138 optional Rect last_updated_visible_layer_rect = 3; |
| 137 optional bool is_mask = 4; | 139 optional bool is_mask = 4; |
| 138 optional bool nearest_neighbor = 5; | 140 optional bool nearest_neighbor = 5; |
| 139 | 141 |
| 140 optional int64 update_source_frame_number = 6; | 142 optional int64 update_source_frame_number = 6; |
| 141 } | 143 } |
| OLD | NEW |