OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // Messages sent from the ARC instance to the host. | 5 // Messages sent from the ARC instance to the host. |
6 // Multiply-included message file, hence no include guard. | 6 // Multiply-included message file, hence no include guard. |
7 | 7 |
8 #include "ipc/ipc_message_macros.h" | 8 #include "ipc/ipc_message_macros.h" |
9 | 9 |
| 10 // Using relative paths since this file is shared between chromium and android. |
| 11 #include "arc_message_param_traits.h" |
| 12 #include "arc_notification_types.h" |
| 13 |
10 #define IPC_MESSAGE_START ArcInstanceHostMsgStart | 14 #define IPC_MESSAGE_START ArcInstanceHostMsgStart |
11 | 15 |
12 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) | 16 IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady) |
| 17 |
| 18 // Notifies that a notification is posted (created or updated) on the container |
| 19 // side with the updated notification data. |
| 20 // |notification_data| is the data of notification (id, texts, icon and ...). |
| 21 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationPosted, |
| 22 arc::ArcNotificationData /* notification_data */); |
| 23 |
| 24 // Notifies that a notification is removed on the container side. |
| 25 // |key| is the identifier of notification. |
| 26 IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationRemoved, |
| 27 std::string /* key */); |
OLD | NEW |