| 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"
|
| #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 */)
|
|
|