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..0b7316cb199c4f704203693121cd871d0c54e094 |
--- /dev/null |
+++ b/chromeos/arc/bridge/common/arc_instance_messages.h |
@@ -0,0 +1,26 @@ |
+// 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 |
+ |
+IPC_MESSAGE_CONTROL0(ArcInstanceMsg_Ping) |
+ |
+// Registers a virtual input device on the container side. |
+// The virtual device will be reading 'struct input_event's from the |
+// file descriptor provided. |
satorux1
2015/10/26 01:58:53
how about adding examples of 'name' and 'device_ty
Luis Héctor Chávez
2015/10/26 21:03:27
Done.
|
+IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice, |
+ std::string, /* name */ |
+ std::string, /* device_type */ |
+ base::FileDescriptor /* fd */) |