summaryrefslogtreecommitdiffstats
path: root/ui/metro_viewer
diff options
context:
space:
mode:
Diffstat (limited to 'ui/metro_viewer')
-rw-r--r--ui/metro_viewer/metro_viewer_messages.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/ui/metro_viewer/metro_viewer_messages.h b/ui/metro_viewer/metro_viewer_messages.h
index 994b40f..2b4a083 100644
--- a/ui/metro_viewer/metro_viewer_messages.h
+++ b/ui/metro_viewer/metro_viewer_messages.h
@@ -14,7 +14,7 @@
IPC_ENUM_TRAITS(ui::EventType)
IPC_ENUM_TRAITS(ui::EventFlags)
-// Messages sent from the viewer to the browser.
+// Messages sent from the viewer to the browser:
// Inform the browser of the surface to target for compositing.
IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface,
@@ -51,6 +51,7 @@ IPC_MESSAGE_CONTROL4(MetroViewerHostMsg_Character,
// Informs the browser that the visibiliy of the viewer has changed.
IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_VisibilityChanged,
bool /* visible */);
+
IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchDown,
int32, /* x-coordinate */
int32, /* y-coordinate */
@@ -63,3 +64,9 @@ IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_TouchMoved,
int32, /* x-coordinate */
int32, /* y-coordinate */
uint64) /* timestamp */
+
+// Messages sent from the browser to the viewer:
+
+// Requests the viewer to change the pointer to a new cursor.
+IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetCursor,
+ int64 /* cursor */);