Index: chrome/common/metro_viewer_messages.h |
diff --git a/chrome/common/metro_viewer_messages.h b/chrome/common/metro_viewer_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..d91ef3a2b2467fc05abbe59952d80471be042a29 |
--- /dev/null |
+++ b/chrome/common/metro_viewer_messages.h |
@@ -0,0 +1,22 @@ |
+// Copyright 2012 The Chromium Authors. All rights reserved. |
Ben Goodger (Google)
2012/10/01 16:30:54
seems like this file should live somewhere outside
scottmg
2012/10/01 17:30:24
Ah, OK, I didn't realize that. [ Apparently we sho
|
+// 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 ViewerMsgStart |
+ |
+// Messages sent from the viewer to the browser. |
+ |
+// Inform the browser of the surface to target for compositing. |
+IPC_MESSAGE_CONTROL1(ViewerHostMsg_SetTargetSurface, |
+ gfx::NativeViewId /* target hwnd */) |
+ |
+IPC_MESSAGE_CONTROL3(ViewerHostMsg_MouseEvent, |
+ int, /* msg */ |
+ uintptr_t, /* message's wParam */ |
+ intptr_t /* message's lParam */) |