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

Unified Diff: ui/metro_viewer/metro_viewer_messages.h

Issue 11047012: Wiring metro mouse events to aura viewer (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
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/views/widget/desktop_root_window_host_linux.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/metro_viewer/metro_viewer_messages.h
===================================================================
--- ui/metro_viewer/metro_viewer_messages.h (revision 160403)
+++ ui/metro_viewer/metro_viewer_messages.h (working copy)
@@ -15,8 +15,15 @@
// Inform the browser of the surface to target for compositing.
IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface,
gfx::NativeViewId /* target hwnd */)
+// Informs the browser that the mouse moved.
+IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseMoved,
+ int, /* x-coordinate */
+ int, /* y-coordinate */
+ int /* modifiers */)
+// Inforoms the brower that a mouse button was pressed.
+IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseButton,
+ int, /* x-coordinate */
+ int, /* y-coordinate */
+ int /* modifiers */)
-IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseEvent,
- int, /* msg */
- uintptr_t, /* message's wParam */
- intptr_t /* message's lParam */)
+
« no previous file with comments | « ui/aura/root_window_host_win.cc ('k') | ui/views/widget/desktop_root_window_host_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698