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

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

Issue 2141233002: cc: Clean up RecordingSource API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Test code refactor Created 4 years, 4 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_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 "recording_source.proto";
11 import "region.proto"; 12 import "region.proto";
12 import "rect.proto"; 13 import "rect.proto";
13 import "scroll_offset.proto"; 14 import "scroll_offset.proto";
14 import "size.proto"; 15 import "size.proto";
15 import "skxfermode.proto"; 16 import "skxfermode.proto";
16 import "transform.proto"; 17 import "transform.proto";
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 } 131 }
131 132
132 message PictureLayerProperties { 133 message PictureLayerProperties {
133 optional RecordingSource recording_source = 1; 134 optional RecordingSource recording_source = 1;
134 optional Region invalidation = 2; 135 optional Region invalidation = 2;
135 optional Rect last_updated_visible_layer_rect = 3; 136 optional Rect last_updated_visible_layer_rect = 3;
136 optional bool is_mask = 4; 137 optional bool is_mask = 4;
137 optional bool nearest_neighbor = 5; 138 optional bool nearest_neighbor = 5;
138 139
139 optional int64 update_source_frame_number = 6; 140 optional int64 update_source_frame_number = 6;
141
142 optional Rect recorded_viewport = 7;
143 optional DisplayItemList display_list = 8;
140 } 144 }
141 145
142 message SolidColorScrollbarLayerProperties { 146 message SolidColorScrollbarLayerProperties {
143 enum ScrollbarOrientation { 147 enum ScrollbarOrientation {
144 HORIZONTAL = 0; 148 HORIZONTAL = 0;
145 VERTICAL = 1; 149 VERTICAL = 1;
146 }; 150 };
147 151
148 optional int32 scroll_layer_id = 1; 152 optional int32 scroll_layer_id = 1;
149 optional int32 thumb_thickness = 2; 153 optional int32 thumb_thickness = 2;
150 optional int32 track_start = 3; 154 optional int32 track_start = 3;
151 optional bool is_left_side_vertical_scrollbar = 4; 155 optional bool is_left_side_vertical_scrollbar = 4;
152 optional ScrollbarOrientation orientation = 5; 156 optional ScrollbarOrientation orientation = 5;
157 optional Rect recorded_viewport = 6;
158 optional DisplayItemList display_list = 7;
153 } 159 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698