| 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 "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  Loading... | 
| 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  Loading... | 
| 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 } | 
| OLD | NEW | 
|---|