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

Unified Diff: ui/metro_viewer/metro_viewer_messages.h

Issue 11194044: Add keyboard events to metro aura (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 2 months 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: ui/metro_viewer/metro_viewer_messages.h
===================================================================
--- ui/metro_viewer/metro_viewer_messages.h (revision 162199)
+++ ui/metro_viewer/metro_viewer_messages.h (working copy)
@@ -17,13 +17,21 @@
gfx::NativeViewId /* target hwnd */)
// Informs the browser that the mouse moved.
IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseMoved,
- int, /* x-coordinate */
- int, /* y-coordinate */
- int /* modifiers */)
+ int32, /* x-coordinate */
+ int32, /* y-coordinate */
+ int32 /* modifiers */)
// Inforoms the brower that a mouse button was pressed.
IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseButton,
- int, /* x-coordinate */
- int, /* y-coordinate */
- int /* modifiers */)
-
-
+ int32, /* x-coordinate */
+ int32, /* y-coordinate */
+ int32 /* modifiers */)
+// Informs the browser that a key was pressed.
+IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_KeyDown,
+ uint32, /* virtual key */
+ uint32, /* repeat count */
+ uint32 /* scan code*/);
+// Informs the browser that a key was released.
+IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_KeyUp,
+ uint32, /* virtual key */
+ uint32, /* repeat count */
+ uint32 /* scan code*/);

Powered by Google App Engine
This is Rietveld 408576698