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

Unified Diff: components/arc/common/arc_host_messages.h

Issue 1475583002: Add IPC messages for ARC notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed the comments and splitted the patch 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: components/arc/common/arc_host_messages.h
diff --git a/components/arc/common/arc_host_messages.h b/components/arc/common/arc_host_messages.h
index d4d72fe27c79c536259e795db5f6a4b69ae061cf..924ac3d18f2bfae19220beb095d97335a5f41b0f 100644
--- a/components/arc/common/arc_host_messages.h
+++ b/components/arc/common/arc_host_messages.h
@@ -7,6 +7,21 @@
#include "ipc/ipc_message_macros.h"
+// Using relative paths since this file is shared between chromium and android.
+#include "arc_message_param_traits.h"
+#include "arc_notification_types.h"
+
#define IPC_MESSAGE_START ArcInstanceHostMsgStart
IPC_MESSAGE_CONTROL0(ArcInstanceHostMsg_InstanceReady)
+
+// Notifies that a notification is posted (created or updated) on the container
+// side with the updated notification data.
+// |notification_data| is the data of notification (id, texts, icon and ...).
+IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationPosted,
+ arc::ArcNotificationData /* notification_data */);
+
+// Notifies that a notification is removed on the container side.
+// |key| is the identifier of notification.
+IPC_MESSAGE_CONTROL1(ArcInstanceHostMsg_NotificationRemoved,
+ std::string /* key */);

Powered by Google App Engine
This is Rietveld 408576698