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

Side by Side Diff: blimp/common/proto/input.proto

Issue 1469503002: Add UNKNOWN values to blimp proto enums (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master Created 5 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 | « blimp/common/proto/control.proto ('k') | blimp/common/proto/navigation.proto » ('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 // Message definitions for the input subprotocol. 5 // Message definitions for the input subprotocol.
6 // 6 //
7 // Current definitions are just placeholders and are NOT final. 7 // Current definitions are just placeholders and are NOT final.
8 // Feel free to modify this interface as necessary during feature work. 8 // Feel free to modify this interface as necessary during feature work.
9 9
10 syntax = "proto2"; 10 syntax = "proto2";
11 11
12 option optimize_for = LITE_RUNTIME; 12 option optimize_for = LITE_RUNTIME;
13 13
14 import "common.proto"; 14 import "common.proto";
15 15
16 package blimp; 16 package blimp;
17 17
18 message ClickArgs { 18 message ClickArgs {
19 optional CoordinatePair target = 1; 19 optional CoordinatePair target = 1;
20 } 20 }
21 21
22 message DragArgs { 22 message DragArgs {
23 optional CoordinatePair origin = 1; 23 optional CoordinatePair origin = 1;
24 optional CoordinatePair destination = 2; 24 optional CoordinatePair destination = 2;
25 optional CoordinatePair elastic_overscroll = 3; 25 optional CoordinatePair elastic_overscroll = 3;
26 } 26 }
27 27
28 message InputMessage { 28 message InputMessage {
29 enum Type { 29 enum Type {
30 UNKNOWN = 0;
30 CLICK = 1; 31 CLICK = 1;
31 DRAG = 2; 32 DRAG = 2;
32 } 33 }
33 optional Type type = 1; 34 optional Type type = 1;
34 35
35 optional ClickArgs click = 1000; 36 optional ClickArgs click = 1000;
36 optional DragArgs drag = 1001; 37 optional DragArgs drag = 1001;
37 } 38 }
38 39
OLDNEW
« no previous file with comments | « blimp/common/proto/control.proto ('k') | blimp/common/proto/navigation.proto » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698