summaryrefslogtreecommitdiffstats
path: root/remoting/proto/event.proto
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 20:23:35 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-12-02 20:23:35 +0000
commit2c22968fe57ea2f1e6a4e4d1fdca3c38d3dc483c (patch)
treee7f154f5f3fb1a27144bee9881e5f4c2a1fd30a9 /remoting/proto/event.proto
parent1a6e72c054869c988f224e68a45d4a580d596be8 (diff)
downloadchromium_src-2c22968fe57ea2f1e6a4e4d1fdca3c38d3dc483c.zip
chromium_src-2c22968fe57ea2f1e6a4e4d1fdca3c38d3dc483c.tar.gz
chromium_src-2c22968fe57ea2f1e6a4e4d1fdca3c38d3dc483c.tar.bz2
Move move classes to the remoting::protocol namespace. Minor cleanups.
BUG=None TEST=compiles, unittests Review URL: http://codereview.chromium.org/5068001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@68056 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/proto/event.proto')
-rw-r--r--remoting/proto/event.proto17
1 files changed, 9 insertions, 8 deletions
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto
index 887f77f..f4cc690 100644
--- a/remoting/proto/event.proto
+++ b/remoting/proto/event.proto
@@ -8,7 +8,7 @@ syntax = "proto2";
option optimize_for = LITE_RUNTIME;
-package remoting;
+package remoting.protocol;
// Defines a keyboard event.
// NEXT ID: 3
@@ -18,15 +18,16 @@ message KeyEvent {
required bool pressed = 2;
}
-enum MouseButton {
- MouseButtonUndefined = 0;
- MouseButtonLeft = 1;
- MouseButtonMiddle = 2;
- MouseButtonRight = 3;
-}
-
// Defines a mouse event message on the event channel.
message MouseEvent {
+
+ enum MouseButton {
+ BUTTON_UNDEFINED = 0;
+ BUTTON_LEFT = 1;
+ BUTTON_MIDDLE = 2;
+ BUTTON_RIGHT = 3;
+ }
+
// Mouse position information.
optional int32 x = 1;
optional int32 y = 2;