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

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

Issue 1532973002: Add support for (de)serializing LayerSelectionBound. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made operator members Created 5 years 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/proto/BUILD.gn ('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 import "size.proto";
9 8
10 option optimize_for = LITE_RUNTIME; 9 option optimize_for = LITE_RUNTIME;
11 10
12 package cc.proto; 11 package cc.proto;
13 12
14 message Rect { 13 enum SelectionBoundType {
15 optional cc.proto.Point origin = 1; 14 UNKNOWN = 0;
16 optional cc.proto.Size size = 2; 15 LEFT = 1;
16 RIGHT = 2;
17 CENTER = 3;
18 EMPTY = 4;
17 } 19 }
20
21 message LayerSelectionBound {
22 optional SelectionBoundType type = 1;
23 optional Point edge_top = 2;
24 optional Point edge_bottom = 3;
25 optional int32 layer_id = 4;
26 }
OLDNEW
« no previous file with comments | « cc/proto/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698