| Index: chrome/browser/notifications/notification.h
|
| diff --git a/chrome/browser/notifications/notification.h b/chrome/browser/notifications/notification.h
|
| index b612595948f1044b036cafcb17fb2e93cb72e405..c2db1f23a2955e8cf0f1349f5b1ab0d65abaa51d 100644
|
| --- a/chrome/browser/notifications/notification.h
|
| +++ b/chrome/browser/notifications/notification.h
|
| @@ -22,18 +22,12 @@ class Image;
|
| }
|
|
|
| // Representation of a notification to be shown to the user.
|
| -// On non-Ash platforms these are rendered as HTML, sometimes described by a
|
| -// data url converted from text + icon data. On Ash they are rendered as
|
| -// formated text and icon data.
|
| class Notification : public message_center::Notification {
|
| public:
|
| - // Initializes a notification with text content. On non-ash platforms, this
|
| - // creates an HTML representation using a data: URL for display.
|
| Notification(const GURL& origin_url,
|
| - const GURL& icon_url,
|
| const base::string16& title,
|
| const base::string16& body,
|
| - blink::WebTextDirection dir,
|
| + const gfx::Image& icon,
|
| const base::string16& display_source,
|
| const base::string16& replace_id,
|
| NotificationDelegate* delegate);
|
| @@ -60,9 +54,6 @@ class Notification : public message_center::Notification {
|
| // The origin URL of the script which requested the notification.
|
| const GURL& origin_url() const { return origin_url_; }
|
|
|
| - // A url for the icon to be shown (optional).
|
| - const GURL& icon_url() const { return icon_url_; }
|
| -
|
| // A unique identifier used to update (replace) or remove a notification.
|
| const base::string16& replace_id() const { return replace_id_; }
|
|
|
| @@ -82,10 +73,6 @@ class Notification : public message_center::Notification {
|
| // The Origin of the page/worker which created this notification.
|
| GURL origin_url_;
|
|
|
| - // URL for the icon associated with the notification. Requires delegate_
|
| - // to have a non NULL RenderViewHost.
|
| - GURL icon_url_;
|
| -
|
| // The URLs of the button images for a rich notification.
|
| GURL button_one_icon_url_;
|
| GURL button_two_icon_url_;
|
|
|