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

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

Issue 1475583002: Add IPC messages for ARC notification (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 5 years 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
« no previous file with comments | « components/arc/common/arc_host_messages.h ('k') | components/arc/common/arc_message_traits.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 31597d2053fe072d254c85b8415f0e8e82a4a651..fec9c6788c2924203c264105983eb722b373881e 100644
--- a/components/arc/common/arc_instance_messages.h
+++ b/components/arc/common/arc_instance_messages.h
@@ -12,7 +12,9 @@
#include "base/file_descriptor_posix.h"
#include "ipc/ipc_message_macros.h"
-#include "components/arc/common/arc_message_types.h"
+// Using relative paths since this file is shared between chromium and android.
+#include "arc_message_types.h"
+#include "arc_notification_types.h"
#define IPC_MESSAGE_START ArcInstanceMsgStart
@@ -46,3 +48,9 @@ IPC_MESSAGE_CONTROL3(ArcInstanceMsg_RequestAppIcon,
std::string, /* package */
std::string, /* activity */
arc::ScaleFactor /* scale factor */)
+
+// Sends an event from Chrome notification UI to Android.
+// |event| is a type of occured event.
+IPC_MESSAGE_CONTROL2(ArcInstanceMsg_SendNotificationEventToAndroid,
+ std::string /* key */,
+ arc::ArcNotificationEvent /* event */);
« no previous file with comments | « components/arc/common/arc_host_messages.h ('k') | components/arc/common/arc_message_traits.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698