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

Unified Diff: ui/message_center/notification.h

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
« no previous file with comments | « chrome/common/extensions/api/notifications.idl ('k') | ui/message_center/notification.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/message_center/notification.h
diff --git a/ui/message_center/notification.h b/ui/message_center/notification.h
index 23e2e8c53fefebd30840466a5e8513db74fca9c4..4217ac4dbdd31c871de2172cc3f7184e1b3268a9 100644
--- a/ui/message_center/notification.h
+++ b/ui/message_center/notification.h
@@ -44,6 +44,7 @@ class MESSAGE_CENTER_EXPORT RichNotificationData {
string16 expanded_message;
gfx::Image image;
std::vector<NotificationItem> items;
+ int progress;
std::vector<ButtonInfo> buttons;
};
@@ -88,6 +89,7 @@ class MESSAGE_CENTER_EXPORT Notification {
const std::vector<NotificationItem>& items() const {
return optional_fields_.items;
}
+ int progress() const { return optional_fields_.progress; }
// End unpacked values.
// Images fetched asynchronously.
« no previous file with comments | « chrome/common/extensions/api/notifications.idl ('k') | ui/message_center/notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698