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

Unified Diff: components/arc/common/notifications.mojom

Issue 1603753003: Support buttons on ARC Notifications (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 months 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/notifications.mojom
diff --git a/components/arc/common/notifications.mojom b/components/arc/common/notifications.mojom
index 6ee8f238d35bef26406d395adb45c4c59e383427..4d3eacfe68509d96efaf06e87df784c4d00b2fed 100644
--- a/components/arc/common/notifications.mojom
+++ b/components/arc/common/notifications.mojom
@@ -27,6 +27,11 @@ enum ArcNotificationType {
MAX = PROGRESS
};
+struct ArcNotificationButton {
+ // Title
+ string label;
+};
+
struct ArcNotificationData {
// Identifier of notification
string key;
@@ -48,6 +53,8 @@ struct ArcNotificationData {
int32 progress_current;
// The maximum value of progress.
int32 progress_max;
+ // Action buttons
+ array<ArcNotificationButton> buttons;
};
interface NotificationsHost {
« no previous file with comments | « no previous file | ui/arc/notification/arc_notification_item.h » ('j') | ui/arc/notification/arc_notification_item.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698