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

Unified Diff: chrome/common/extensions/api/notifications.idl

Issue 23462005: Adds the contextMessage field to notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adjust unit test due to bugfix in toast layout. Created 7 years, 4 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: chrome/common/extensions/api/notifications.idl
diff --git a/chrome/common/extensions/api/notifications.idl b/chrome/common/extensions/api/notifications.idl
index 2330c4de8c0dba8585a7d95db76b7afbcc91d72b..504cda9e01db883fb54544890d05d7c3c92250c0 100644
--- a/chrome/common/extensions/api/notifications.idl
+++ b/chrome/common/extensions/api/notifications.idl
@@ -53,6 +53,9 @@ namespace notifications {
// Main notification content.
DOMString? message;
+ // Alternate notification content with a lower-weight font.
+ DOMString? contextMessage;
+
// Priority ranges from -2 to 2. -2 is lowest priority. 2 is highest. Zero
// is default.
long? priority;
« no previous file with comments | « chrome/browser/extensions/api/notifications/notifications_api.cc ('k') | ui/message_center/cocoa/notification_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698