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

Side by Side Diff: chrome/browser/notifications/notification.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: Address nits Created 6 years, 10 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/browser/notifications/sync_notifier/synced_notification.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ 5 #ifndef CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_
6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ 6 #define CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 // string-based notifications). 118 // string-based notifications).
119 GURL content_url_; 119 GURL content_url_;
120 120
121 // The URLs of the button images for a rich notification. 121 // The URLs of the button images for a rich notification.
122 GURL button_one_icon_url_; 122 GURL button_one_icon_url_;
123 GURL button_two_icon_url_; 123 GURL button_two_icon_url_;
124 124
125 // The URL of a large image to be displayed for a a rich notification. 125 // The URL of a large image to be displayed for a a rich notification.
126 GURL image_url_; 126 GURL image_url_;
127 127
128 // The URL of a small image to be displayed for a a rich notification.
129 GURL small_image_url_;
robwu 2014/05/22 21:04:16 This is not used anywhere, shouldn't it be removed
130
128 // The user-supplied replace ID for the notification. 131 // The user-supplied replace ID for the notification.
129 base::string16 replace_id_; 132 base::string16 replace_id_;
130 133
131 // A proxy object that allows access back to the JavaScript object that 134 // A proxy object that allows access back to the JavaScript object that
132 // represents the notification, for firing events. 135 // represents the notification, for firing events.
133 scoped_refptr<NotificationDelegate> delegate_; 136 scoped_refptr<NotificationDelegate> delegate_;
134 }; 137 };
135 138
136 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_ 139 #endif // CHROME_BROWSER_NOTIFICATIONS_NOTIFICATION_H_
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/notifications/sync_notifier/synced_notification.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698