From 2c22968fe57ea2f1e6a4e4d1fdca3c38d3dc483c Mon Sep 17 00:00:00 2001 From: "sergeyu@chromium.org" Date: Thu, 2 Dec 2010 20:23:35 +0000 Subject: 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 --- remoting/proto/event.proto | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'remoting/proto/event.proto') 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; -- cgit v1.1