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

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

Issue 2844043002: Update notification.idl following the Mac OS X changes (Closed)
Patch Set: Update notification.idl following the Mac OS X changes 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/extensions/api/notifications.idl
diff --git a/chrome/common/extensions/api/notifications.idl b/chrome/common/extensions/api/notifications.idl
index d3cc1ac8b01399e4d11439aee7be62f87ebac02f..1827388f70b11688ed9c1ccc669763a47f584171 100644
--- a/chrome/common/extensions/api/notifications.idl
+++ b/chrome/common/extensions/api/notifications.idl
@@ -10,9 +10,11 @@ namespace notifications {
basic,
// icon, title, message, expandedMessage, image, up to two buttons
+ [deprecated="The image is not visible for Mac OS X users."]
image,
- // icon, title, message, items, up to two buttons
+ // icon, title, message, items, up to two buttons. Users on Mac OS X only
+ // see the first item.
list,
// icon, title, message, progress, up to two buttons
@@ -44,6 +46,7 @@ namespace notifications {
dictionary NotificationButton {
DOMString title;
+ [deprecated="Button icons not visible for Mac OS X users."]
DOMString? iconUrl;
[nodoc] NotificationBitmap? iconBitmap;
};
@@ -64,9 +67,10 @@ namespace notifications {
// A URL to the app icon mask. URLs have the same restrictions as
// $(ref:notifications.NotificationOptions.iconUrl iconUrl).
- //
+ //
// The app icon mask should be in alpha channel, as only the alpha channel
// of the image will be considered.
+ [deprecated="The app icon mask is not visible for Mac OS X users."]
DOMString? appIconMaskUrl;
[nodoc] NotificationBitmap? appIconMaskBitmap;
@@ -98,12 +102,14 @@ namespace notifications {
[nodoc] DOMString? expandedMessage;
// A URL to the image thumbnail for image-type notifications.
- // URLs have the same restrictions as
+ // URLs have the same restrictions as
// $(ref:notifications.NotificationOptions.iconUrl iconUrl).
+ [deprecated="The image is not visible for Mac OS X users."]
DOMString? imageUrl;
[nodoc] NotificationBitmap? imageBitmap;
- // Items for multi-item notifications.
+ // Items for multi-item notifications. Users on Mac OS X only see the first
+ // item.
NotificationItem[]? items;
// Current progress ranges from 0 to 100.
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698