Index: ui/metro_viewer/metro_viewer_messages.h |
diff --git a/ui/metro_viewer/metro_viewer_messages.h b/ui/metro_viewer/metro_viewer_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..776e06b031418b5bd9abfdb653673eb0070154ef |
--- /dev/null |
+++ b/ui/metro_viewer/metro_viewer_messages.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+// Multiply-included message file, no include guard. |
+ |
+#include "base/basictypes.h" |
+#include "ipc/ipc_message_macros.h" |
+#include "ui/gfx/native_widget_types.h" |
+ |
+#define IPC_MESSAGE_START MetroViewerMsgStart |
+ |
+// Messages sent from the viewer to the browser. |
+ |
+// Inform the browser of the surface to target for compositing. |
+IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface, |
+ gfx::NativeViewId /* target hwnd */) |
+ |
+IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseEvent, |
+ int, /* msg */ |
+ uintptr_t, /* message's wParam */ |
+ intptr_t /* message's lParam */) |