OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Messages sent from the host to the ARC instance | 5 // Messages sent from the host to the ARC instance |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 | 9 |
| 10 #include <string> |
| 11 #include <vector> |
| 12 |
10 #define IPC_MESSAGE_START ArcInstanceHostMsgStart | 13 #define IPC_MESSAGE_START ArcInstanceHostMsgStart |
11 | 14 |
12 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) | 15 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) |
| 16 |
| 17 // Sends available apps on Android side. |
| 18 IPC_MESSAGE_CONTROL2(ArcInstanceHostMsg_AppsRefreshed, |
| 19 std::vector<std::string>, /* labels */ |
| 20 std::vector<std::string> /* packages */) |
| 21 |
| 22 // Sends app icon data for specific scale factor. |
| 23 IPC_MESSAGE_CONTROL4(ArcInstanceHostMsg_AppIcon, |
| 24 std::string, /* package */ |
| 25 std::string, /* activity */ |
| 26 int, /* scale factor */ |
| 27 std::vector<uint8_t> /* icon data */) |
OLD | NEW |