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

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

Issue 18662006: Support creating progress bar notification for Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix per feedbacks Created 7 years, 5 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 321cd5c0a13add5dc25c4e724aba7870c4e91c2b..5e24848e1187d8ef5bba01e38b531968efea09e9 100644
--- a/chrome/common/extensions/api/notifications.idl
+++ b/chrome/common/extensions/api/notifications.idl
@@ -13,7 +13,10 @@ namespace notifications {
image,
// icon, title, message, items, up to two buttons
- list
+ list,
+
+ // icon, title, message, progress, up to two buttons
+ progress
};
dictionary NotificationItem {
@@ -70,6 +73,9 @@ namespace notifications {
// Items for multi-item notifications.
NotificationItem[]? items;
+
+ // Current progress ranges from 0 to 100.
+ long? progress;
};
callback CreateCallback = void (DOMString notificationId);
« no previous file with comments | « chrome/browser/extensions/api/notifications/notifications_apitest.cc ('k') | ui/message_center/notification.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698