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

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: 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 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..80772174d23bc9ad675eb6ae1bcd55dedebe30bc 100644
--- a/chromeos/arc/bridge/common/arc_host_messages.h
+++ b/chromeos/arc/bridge/common/arc_host_messages.h
@@ -5,8 +5,28 @@
// Messages sent from the host to the ARC instance
// Multiply-included message file, hence no include guard.
+#include "chromeos/chromeos_export.h"
khmel1 2015/11/12 08:18:13 These changes(and below) come from recent 14128630
#include "ipc/ipc_message_macros.h"
+#include <string>
+#include <vector>
+
+// Export IPC messages.
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT CHROMEOS_EXPORT
+
#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