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

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

Issue 1578523002: Move SelectionBoundType to inside the LayerSelectionBound message. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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
« no previous file with comments | « cc/input/layer_selection_bound.cc ('k') | no next file » | 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 "point.proto"; 7 import "point.proto";
8 8
9 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
10 10
11 package cc.proto; 11 package cc.proto;
12 12
13 enum SelectionBoundType { 13 message LayerSelectionBound {
14 UNKNOWN = 0; 14 enum SelectionBoundType {
15 LEFT = 1; 15 UNKNOWN = 0;
16 RIGHT = 2; 16 LEFT = 1;
17 CENTER = 3; 17 RIGHT = 2;
18 EMPTY = 4; 18 CENTER = 3;
19 } 19 EMPTY = 4;
20 }
20 21
21 message LayerSelectionBound {
22 optional SelectionBoundType type = 1; 22 optional SelectionBoundType type = 1;
23 optional Point edge_top = 2; 23 optional Point edge_top = 2;
24 optional Point edge_bottom = 3; 24 optional Point edge_bottom = 3;
25 optional int32 layer_id = 4; 25 optional int32 layer_id = 4;
26 } 26 }
27 27
28 message LayerSelection { 28 message LayerSelection {
29 optional LayerSelectionBound start = 1; 29 optional LayerSelectionBound start = 1;
30 optional LayerSelectionBound end = 2; 30 optional LayerSelectionBound end = 2;
31 optional bool is_editable = 3; 31 optional bool is_editable = 3;
32 optional bool is_empty_text_form_control = 4; 32 optional bool is_empty_text_form_control = 4;
33 } 33 }
OLDNEW
« no previous file with comments | « cc/input/layer_selection_bound.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698