| Index: components/arc/common/arc_instance_messages.h
|
| diff --git a/components/arc/common/arc_instance_messages.h b/components/arc/common/arc_instance_messages.h
|
| index a9972296a0032cdd979eeb94da7477d38bee580e..4bd57c8df21f199761fde257d47c5886794059a8 100644
|
| --- a/components/arc/common/arc_instance_messages.h
|
| +++ b/components/arc/common/arc_instance_messages.h
|
| @@ -10,6 +10,9 @@
|
| #include "base/file_descriptor_posix.h"
|
| #include "ipc/ipc_message_macros.h"
|
|
|
| +// Using relative paths since this file is shared between chromium and android.
|
| +#include "arc_notification_types.h"
|
| +
|
| #define IPC_MESSAGE_START ArcInstanceMsgStart
|
|
|
| // Registers a virtual input device on the container side.
|
| @@ -22,3 +25,13 @@ IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RegisterInputDevice,
|
| std::string, /* name */
|
| std::string, /* device_type */
|
| base::FileDescriptor /* fd */)
|
| +
|
| +// Enum for notification event types.
|
| +IPC_ENUM_TRAITS_MAX_VALUE(arc::NotificationEvent,
|
| + arc::NotificationEvent::NOTIFICATION_EVENT_LAST)
|
| +
|
| +// Sends an event from Chrome notification UI to the container.
|
| +// |event| is a type of occured event.
|
| +IPC_MESSAGE_CONTROL2(ArcInstanceMsg_NotifyNotificationEvent,
|
| + std::string /* key */,
|
| + arc::NotificationEvent /* event */);
|
|
|