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

Unified Diff: chrome/browser/notifications/sync_notifier/synced_notification.h

Issue 19771013: Adapting the UI to bring it closer to the spec, and fixing image fetching. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Adapting the UI: Fix string comparison 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/browser/notifications/sync_notifier/synced_notification.h
diff --git a/chrome/browser/notifications/sync_notifier/synced_notification.h b/chrome/browser/notifications/sync_notifier/synced_notification.h
index fd3ee552cec80369f6e3c9d3919cd050bef287c2..a0d3b91dc4d757891e829d036ef0234fe44d4d76 100644
--- a/chrome/browser/notifications/sync_notifier/synced_notification.h
+++ b/chrome/browser/notifications/sync_notifier/synced_notification.h
@@ -52,6 +52,7 @@ class SyncedNotification : public NotificationBitmapFetcherDelegate {
std::string GetTitle() const;
std::string GetHeading() const;
std::string GetDescription() const;
+ std::string GetAnnotation() const;
std::string GetAppId() const;
std::string GetKey() const;
GURL GetOriginUrl() const;
@@ -67,6 +68,8 @@ class SyncedNotification : public NotificationBitmapFetcherDelegate {
std::string GetButtonTitle(unsigned int which_button) const;
GURL GetButtonIconUrl(unsigned int which_button) const;
GURL GetButtonUrl(unsigned int which_button) const;
+ GURL GetProfilePictureUrl(unsigned int which_url) const;
+ size_t GetProfilePictureCount() const;
size_t GetNotificationCount() const;
size_t GetButtonCount() const;
std::string GetContainedNotificationTitle(int index) const;
@@ -112,6 +115,7 @@ class SyncedNotification : public NotificationBitmapFetcherDelegate {
ScopedVector<NotificationBitmapFetcher> fetchers_;
int active_fetcher_count_;
gfx::Image app_icon_bitmap_;
+ gfx::Image sender_bitmap_;
gfx::Image image_bitmap_;
std::vector<gfx::Image> button_bitmaps_;

Powered by Google App Engine
This is Rietveld 408576698