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

Unified Diff: chromeos/arc/bridge/common/arc_instance_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_instance_messages.h
diff --git a/chromeos/arc/bridge/common/arc_instance_messages.h b/chromeos/arc/bridge/common/arc_instance_messages.h
index 607718d12842306f1cdc1f27b0b3cd95471719ce..c7037e424e7612568672ed75a6439ed6b72d2b43 100644
--- a/chromeos/arc/bridge/common/arc_instance_messages.h
+++ b/chromeos/arc/bridge/common/arc_instance_messages.h
@@ -8,8 +8,13 @@
#include <stdint.h>
#include "base/file_descriptor_posix.h"
+#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"
+// Export IPC messages.
+#undef IPC_MESSAGE_EXPORT
+#define IPC_MESSAGE_EXPORT CHROMEOS_EXPORT
+
#define IPC_MESSAGE_START ArcInstanceMsgStart
// Registers a virtual input device on the container side.
@@ -22,3 +27,17 @@ IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice,
std::string, /* name */
std::string, /* device_type */
base::FileDescriptor /* fd */)
+
+// Request to app launcher to refresh a list of available apps.
+IPC_MESSAGE_CONTROL0(ArcInstanceMsg_RefreshApps)
+
+// Request to app launcher to start an activity.
+IPC_MESSAGE_CONTROL2(ArcInstanceMsg_LaunchApp,
+ std::string, /* package */
+ std::string /* activity */)
+
+// Request to app launcher to send an app icon of a required scale factor.
+IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RequestIcon,
+ std::string, /* package */
+ std::string, /* activity */
+ int /* scale factor */)

Powered by Google App Engine
This is Rietveld 408576698