Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1007)

Unified Diff: chrome/common/metro_viewer_messages.h

Issue 10984007: in-chrome viewer for metro (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix include Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 */)

Powered by Google App Engine
This is Rietveld 408576698