OLD | NEW |
---|---|
(Empty) | |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 // Messages sent from the ARC instance to the host | |
6 // Multiply-included message file, hence no include guard. | |
7 | |
8 #include <stdint.h> | |
hidehiko
2015/10/28 16:47:31
ditto.
Luis Héctor Chávez
2015/10/28 17:28:49
Done.
| |
9 | |
10 #include <string> | |
11 #include <vector> | |
hidehiko
2015/10/28 16:47:31
Ditto.
Luis Héctor Chávez
2015/10/28 17:28:49
Done.
| |
12 | |
13 #include "base/file_descriptor_posix.h" | |
14 #include "ipc/ipc_message_macros.h" | |
15 | |
16 #define IPC_MESSAGE_START ArcInstanceMsgStart | |
17 | |
18 // Registers a virtual input device on the container side. | |
19 // |name| is the device name, like "Chrome OS Keyboard". | |
20 // |device_type| is the device type, like "keyboard". | |
21 // The virtual device will be reading 'struct input_event's from |fd|. The | |
22 // ownership of |fd| will be transferred to the receiver, so the sender must | |
23 // not close it. | |
24 IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice, | |
25 std::string, /* name */ | |
26 std::string, /* device_type */ | |
27 base::FileDescriptor /* fd */) | |
OLD | NEW |