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

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

Issue 2820073002: Update the background color of ARC notifications when notification settings is opened. (Closed)
Patch Set: add comments Created 3 years, 8 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
« no previous file with comments | « no previous file | ui/arc/notification/arc_custom_notification_item.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/common/notifications.mojom
diff --git a/components/arc/common/notifications.mojom b/components/arc/common/notifications.mojom
index e51514974e3c28f3e42b04dc05372557f77cf940..ae9a48cc9d8f8143e9096e92fe9bedd0cb902106 100644
--- a/components/arc/common/notifications.mojom
+++ b/components/arc/common/notifications.mojom
@@ -55,6 +55,15 @@ enum ArcNotificationExpandState {
EXPANDED = 2,
};
+// These values represent what shows in an ARC custom notification.
+[Extensible, MinVersion=11]
+enum ArcNotificationShownContents {
+ // The normal notification contents are shown.
+ CONTENTS_SHOWN = 0,
+ // The notification settings view is shown.
+ SETTINGS_SHOWN = 1,
+};
+
struct ArcNotificationData {
// Identifier of notification
string key;
@@ -108,6 +117,9 @@ struct ArcNotificationData {
// Flag if the notification is expandable
[MinVersion=10]
ArcNotificationExpandState expand_state;
+ // Flag for what shows in a notification.
+ [MinVersion=11]
+ ArcNotificationShownContents shown_contents;
};
[MinVersion=2]
« no previous file with comments | « no previous file | ui/arc/notification/arc_custom_notification_item.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698