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

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

Issue 2456093003: Enable more layer_tree_host_unittest for LayerTreeHostRemote. (Closed)
Patch Set: Minor polish on refactored test class. Created 4 years, 1 month 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
« no previous file with comments | « cc/layers/layer_proto_converter.cc ('k') | cc/test/push_properties_counting_layer.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 "display_item.proto";
8 import "layer_position_constraint.proto"; 8 import "layer_position_constraint.proto";
9 import "layer_sticky_position_constraint.proto"; 9 import "layer_sticky_position_constraint.proto";
10 import "point3f.proto"; 10 import "point3f.proto";
(...skipping 17 matching lines...) Expand all
28 // facilitate reconstruction of a Layer of the correct type on the client. 28 // facilitate reconstruction of a Layer of the correct type on the client.
29 enum Type { 29 enum Type {
30 UNKNOWN = 0; 30 UNKNOWN = 0;
31 LAYER = 1; 31 LAYER = 1;
32 PICTURE_LAYER = 2; 32 PICTURE_LAYER = 2;
33 HEADS_UP_DISPLAY_LAYER = 3; 33 HEADS_UP_DISPLAY_LAYER = 3;
34 SOLID_COLOR_SCROLLBAR_LAYER = 4; 34 SOLID_COLOR_SCROLLBAR_LAYER = 4;
35 35
36 // Layer Types for testing only. 36 // Layer Types for testing only.
37 FAKE_PICTURE_LAYER = 5; 37 FAKE_PICTURE_LAYER = 5;
38 PUSH_PROPERTIES_COUNTING_LAYER = 6;
38 39
39 // TODO(nyquist): Add the rest of the necessary LayerTypes. 40 // TODO(nyquist): Add the rest of the necessary LayerTypes.
40 }; 41 };
41 42
42 // required 43 // required
43 optional int32 id = 1; 44 optional int32 id = 1;
44 // required 45 // required
45 optional Type type = 2; 46 optional Type type = 2;
46 optional int32 parent_id = 3; 47 optional int32 parent_id = 3;
47 // A List of all the children of the current LayerNode. 48 // A List of all the children of the current LayerNode.
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 HORIZONTAL = 0; 172 HORIZONTAL = 0;
172 VERTICAL = 1; 173 VERTICAL = 1;
173 }; 174 };
174 175
175 optional int32 scroll_layer_id = 1; 176 optional int32 scroll_layer_id = 1;
176 optional int32 thumb_thickness = 2; 177 optional int32 thumb_thickness = 2;
177 optional int32 track_start = 3; 178 optional int32 track_start = 3;
178 optional bool is_left_side_vertical_scrollbar = 4; 179 optional bool is_left_side_vertical_scrollbar = 4;
179 optional ScrollbarOrientation orientation = 5; 180 optional ScrollbarOrientation orientation = 5;
180 } 181 }
OLDNEW
« no previous file with comments | « cc/layers/layer_proto_converter.cc ('k') | cc/test/push_properties_counting_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698