Index: chrome/common/viewer_messages.h |
diff --git a/chrome/common/viewer_messages.h b/chrome/common/viewer_messages.h |
new file mode 100644 |
index 0000000000000000000000000000000000000000..84fd7f3727a28770ebc607adaec4dad4a3476d56 |
--- /dev/null |
+++ b/chrome/common/viewer_messages.h |
@@ -0,0 +1,23 @@ |
+// 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 ViewerMsgStart |
+ |
+// Messages sent from the viewer to the browser. |
+ |
+// Inform the browser of the surface to target for compositing. |
+IPC_SYNC_MESSAGE_CONTROL1_0(ViewerHostMsg_SetTargetSurface, |
+ gfx::NativeViewId /* target hwnd */) |
cpu_(ooo_6.6-7.5)
2012/09/28 21:37:37
this should be an async message. That might have b
scottmg
2012/09/28 22:14:28
Done.
|
+ |
+IPC_SYNC_MESSAGE_CONTROL3_0(ViewerHostMsg_MouseEvent, |
+ int, /* msg */ |
+ WPARAM, /* message's wParam */ |
+ LPARAM /* message's wParam */) |
+ |