Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 Loading... | |
| 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_ |
| OLD | NEW |