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

Unified 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: switch to new IPC 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/arc/bridge/common/arc_host_messages.h
diff --git a/chromeos/arc/bridge/common/arc_host_messages.h b/chromeos/arc/bridge/common/arc_host_messages.h
index a04efd20ea568acf5f27e17c9694ec26bf9bd043..3eb4b5362a4680b802a4508a8c8810524db4b52b 100644
--- a/chromeos/arc/bridge/common/arc_host_messages.h
+++ b/chromeos/arc/bridge/common/arc_host_messages.h
@@ -7,6 +7,21 @@
#include "ipc/ipc_message_macros.h"
+#include <string>
+#include <vector>
+
#define IPC_MESSAGE_START ArcInstanceHostMsgStart
IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady)
+
+// Sends available apps on Android side.
+IPC_MESSAGE_CONTROL2(ArcInstanceHostMsg_AppsRefreshed,
+ std::vector<std::string>, /* labels */
+ std::vector<std::string> /* packages */)
+
+// Sends app icon data for specific scale factor.
+IPC_MESSAGE_CONTROL4(ArcInstanceHostMsg_AppIcon,
+ std::string, /* package */
+ std::string, /* activity */
+ int, /* scale factor */
+ std::vector<uint8_t> /* icon data */)

Powered by Google App Engine
This is Rietveld 408576698