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

Unified Diff: ui/metro_viewer/metro_viewer_messages.h

Issue 10984007: in-chrome viewer for metro (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rename messages to have metro prefix 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
« no previous file with comments | « ui/metro_viewer/metro_viewer_message_generator.cc ('k') | ui/surface/accelerated_surface_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/metro_viewer/metro_viewer_messages.h
diff --git a/ui/metro_viewer/metro_viewer_messages.h b/ui/metro_viewer/metro_viewer_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..776e06b031418b5bd9abfdb653673eb0070154ef
--- /dev/null
+++ b/ui/metro_viewer/metro_viewer_messages.h
@@ -0,0 +1,22 @@
+// 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 MetroViewerMsgStart
+
+// Messages sent from the viewer to the browser.
+
+// Inform the browser of the surface to target for compositing.
+IPC_MESSAGE_CONTROL1(MetroViewerHostMsg_SetTargetSurface,
+ gfx::NativeViewId /* target hwnd */)
+
+IPC_MESSAGE_CONTROL3(MetroViewerHostMsg_MouseEvent,
+ int, /* msg */
+ uintptr_t, /* message's wParam */
+ intptr_t /* message's lParam */)
« no previous file with comments | « ui/metro_viewer/metro_viewer_message_generator.cc ('k') | ui/surface/accelerated_surface_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698