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

Unified Diff: chromeos/arc/bridge/common/arc_instance_messages.h

Issue 1424503002: arc-bridge: Add IPC message definitions (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Left only IPC message definitions Created 5 years, 2 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 | « chromeos/arc/bridge/common/arc_host_messages.h ('k') | chromeos/arc/bridge/common/arc_message_generator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/arc/bridge/common/arc_instance_messages.h
diff --git a/chromeos/arc/bridge/common/arc_instance_messages.h b/chromeos/arc/bridge/common/arc_instance_messages.h
new file mode 100644
index 0000000000000000000000000000000000000000..50c6f21c6da5410e0f2d3ae8b20e29b7d5e22d58
--- /dev/null
+++ b/chromeos/arc/bridge/common/arc_instance_messages.h
@@ -0,0 +1,25 @@
+// Copyright 2015 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.
+
+// Messages sent from the ARC instance to the host
+// Multiply-included message file, hence no include guard.
+
+#include <stdint.h>
+
+#include <string>
+#include <vector>
+
+#include "base/file_descriptor_posix.h"
+#include "ipc/ipc_message_macros.h"
+
+#define IPC_MESSAGE_START ArcInstanceMsgStart
+
+// Registers a virtual input device on the container side.
+// |name| is the device name, like "Chrome OS Keyboard"
+// |device_type| is the device type, like "keyboard"
+// The virtual device will be reading 'struct input_event's from |fd|.
satorux1 2015/10/28 05:17:20 Might be nice to document whether or not Chrome sh
Luis Héctor Chávez 2015/10/28 16:17:55 Done.
+IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice,
+ std::string, /* name */
+ std::string, /* device_type */
+ base::FileDescriptor /* fd */)
« no previous file with comments | « chromeos/arc/bridge/common/arc_host_messages.h ('k') | chromeos/arc/bridge/common/arc_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698