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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2012 The Chromium Authors. All rights reserved. 1 // Copyright 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, no include guard. 5 // Multiply-included message file, no include guard.
6 6
7 #include "base/basictypes.h" 7 #include "base/basictypes.h"
8 #include "ipc/ipc_message_macros.h" 8 #include "ipc/ipc_message_macros.h"
9 #include "ui/gfx/native_widget_types.h" 9 #include "ui/gfx/native_widget_types.h"
10 10
11 #define IPC_MESSAGE_START MetroViewerMsgStart 11 #define IPC_MESSAGE_START MetroViewerMsgStart
12 12
13 // Messages sent from the viewer to the browser. 13 // Messages sent from the viewer to the browser.
14 14
15 // Inform the browser of the surface to target for compositing. 15 // Inform the browser of the surface to target for compositing.
16 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface, 16 IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface,
17 gfx::NativeViewId /* target hwnd */) 17 gfx::NativeViewId /* target hwnd */)
18 // Informs the browser that the mouse moved.
19 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseMoved,
20 int, /* x-coordinate */
21 int, /* y-coordinate */
22 int /* modifiers */)
23 // Inforoms the brower that a mouse button was pressed.
24 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseButton,
25 int, /* x-coordinate */
26 int, /* y-coordinate */
27 int /* modifiers */)
18 28
19 IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseEvent, 29
20 int, /* msg */
21 uintptr_t, /* message's wParam */
22 intptr_t /* message's lParam */)
OLDNEW
« 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