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

Unified Diff: remoting/proto/event.proto

Issue 5068001: Move move classes to the remoting::protocol namespace. Minor cleanups. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: more fixes for windows Created 10 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 side-by-side diff with in-line comments
Download patch
Index: remoting/proto/event.proto
diff --git a/remoting/proto/event.proto b/remoting/proto/event.proto
index 887f77fd0a8a7c5f0615ce10aa8719d0433d8ade..f4cc690231a418fa69c05888203719b02812c59f 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;

Powered by Google App Engine
This is Rietveld 408576698