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

Unified Diff: chrome/common/viewer_messages.h

Issue 10984007: in-chrome viewer for metro (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: only do viewer mode when shift-F11 is pressed, for now 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/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 */)
+

Powered by Google App Engine
This is Rietveld 408576698