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..3c64ad0373a398ec9118c13f020473f646e4235f |
--- /dev/null |
+++ b/chrome/common/viewer_messages.h |
@@ -0,0 +1,17 @@ |
+// 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 */) |