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.
5 // Message definitions for the input subprotocol.
7 // Current definitions are just placeholders and are NOT final.
8 // Feel free to modify this interface as necessary during feature work.
12 option optimize_for = LITE_RUNTIME;
14 import "common.proto";
19 optional CoordinatePair target = 1;
23 optional CoordinatePair origin = 1;
24 optional CoordinatePair destination = 2;
25 optional CoordinatePair elastic_overscroll = 3;
28 message InputMessage {
33 optional Type type = 1;
35 optional ClickArgs click = 1000;
36 optional DragArgs drag = 1001;