diff options
author | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-05 21:47:33 +0000 |
---|---|---|
committer | cpu@chromium.org <cpu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-10-05 21:47:33 +0000 |
commit | 8f05ceaab534c9e0fd354e34b61e70ac48888e2c (patch) | |
tree | d8430a5bf076b96b6bc087a3d7f457bdef251a76 /ui/metro_viewer | |
parent | db84517c5e965d72adb9ce8edaf89a229f3f59fa (diff) | |
download | chromium_src-8f05ceaab534c9e0fd354e34b61e70ac48888e2c.zip chromium_src-8f05ceaab534c9e0fd354e34b61e70ac48888e2c.tar.gz chromium_src-8f05ceaab534c9e0fd354e34b61e70ac48888e2c.tar.bz2 |
In-chorme viewer for metro (part 2)
- Wires metro mouse move, mouse click to aura viewer
- Introduces a new RootWindowHost, one that is remote
BUG=151718
TEST=see bug
Review URL: https://codereview.chromium.org/11047012
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@160489 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/metro_viewer')
-rw-r--r-- | ui/metro_viewer/metro_viewer_messages.h | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/ui/metro_viewer/metro_viewer_messages.h b/ui/metro_viewer/metro_viewer_messages.h index 776e06b..66d482c 100644 --- a/ui/metro_viewer/metro_viewer_messages.h +++ b/ui/metro_viewer/metro_viewer_messages.h @@ -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 */) |