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

Side by Side Diff: chromeos/arc/bridge/common/arc_host_messages.h

Issue 1413153007: arc-app-launcher: Minimal support for ARC app launcher. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Process xiyuan Created 5 years, 1 month 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 unified diff | Download patch
OLDNEW
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 "chromeos/chromeos_export.h"
khmel1 2015/11/12 08:18:13 These changes(and below) come from recent 14128630
8 #include "ipc/ipc_message_macros.h" 9 #include "ipc/ipc_message_macros.h"
9 10
11 #include <string>
12 #include <vector>
13
14 // Export IPC messages.
15 #undef IPC_MESSAGE_EXPORT
16 #define IPC_MESSAGE_EXPORT CHROMEOS_EXPORT
17
10 #define IPC_MESSAGE_START ArcInstanceHostMsgStart 18 #define IPC_MESSAGE_START ArcInstanceHostMsgStart
11 19
12 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) 20 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady)
21
22 // Sends available apps on Android side.
23 IPC_MESSAGE_CONTROL2(ArcInstanceHostMsg_AppsRefreshed,
24 std::vector<std::string>, /* labels */
25 std::vector<std::string> /* packages */)
26
27 // Sends app icon data for specific scale factor.
28 IPC_MESSAGE_CONTROL4(ArcInstanceHostMsg_AppIcon,
29 std::string, /* package */
30 std::string, /* activity */
31 int, /* scale factor */
32 std::vector<uint8_t> /* icon data */)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698