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

Unified Diff: ui/message_center/message_center.h

Issue 149433005: Adds a small icon to notifications, and connects it to synced notifications. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add testing. Created 6 years, 11 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: ui/message_center/message_center.h
diff --git a/ui/message_center/message_center.h b/ui/message_center/message_center.h
index 1b6cbae33c1bf7b608db470873c2a3978511ac71..84beb3536d834b9870a6af84c8db23829318e93f 100644
--- a/ui/message_center/message_center.h
+++ b/ui/message_center/message_center.h
@@ -103,6 +103,10 @@ class MESSAGE_CENTER_EXPORT MessageCenter {
int button_index,
const gfx::Image& image) = 0;
+ // Sets the small image for the notification.
+ virtual void SetNotificationSmallImage(const std::string& notification_id,
Dmitry Titov 2014/01/29 23:07:05 If we don't call this and don't plan to in the nea
dewittj 2014/01/30 00:41:56 Done.
+ const gfx::Image& image) = 0;
+
// Operations happening especially from GUIs: click, expand, disable,
// and settings.
// Searches through the notifications and disables any that match the

Powered by Google App Engine
This is Rietveld 408576698