| OLD | NEW |
| (Empty) |
| 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 | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 syntax = "proto2"; | |
| 6 | |
| 7 import "point.proto"; | |
| 8 | |
| 9 option optimize_for = LITE_RUNTIME; | |
| 10 | |
| 11 package cc.proto; | |
| 12 | |
| 13 message LayerSelectionBound { | |
| 14 enum SelectionBoundType { | |
| 15 UNKNOWN = 0; | |
| 16 LEFT = 1; | |
| 17 RIGHT = 2; | |
| 18 CENTER = 3; | |
| 19 EMPTY = 4; | |
| 20 } | |
| 21 | |
| 22 optional SelectionBoundType type = 1; | |
| 23 optional Point edge_top = 2; | |
| 24 optional Point edge_bottom = 3; | |
| 25 optional int32 layer_id = 4; | |
| 26 } | |
| 27 | |
| 28 message LayerSelection { | |
| 29 optional LayerSelectionBound start = 1; | |
| 30 optional LayerSelectionBound end = 2; | |
| 31 optional bool is_editable = 3; | |
| 32 optional bool is_empty_text_form_control = 4; | |
| 33 } | |
| OLD | NEW |