OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
7 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 | 9 |
10 #if defined(ENABLE_EXTENSIONS) | 10 #if defined(ENABLE_EXTENSIONS) |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 // username and password. | 221 // username and password. |
222 NOTIFICATION_AUTH_SUPPLIED, | 222 NOTIFICATION_AUTH_SUPPLIED, |
223 | 223 |
224 // This is sent when an authentication request has been dismissed without | 224 // This is sent when an authentication request has been dismissed without |
225 // supplying credentials (either by the user or by an automation service). | 225 // supplying credentials (either by the user or by an automation service). |
226 // The source is the Source<NavigationController> for the tab in which the | 226 // The source is the Source<NavigationController> for the tab in which the |
227 // prompt was shown. Details are a LoginNotificationDetails which provide | 227 // prompt was shown. Details are a LoginNotificationDetails which provide |
228 // the LoginHandler that should be cancelled. | 228 // the LoginHandler that should be cancelled. |
229 NOTIFICATION_AUTH_CANCELLED, | 229 NOTIFICATION_AUTH_CANCELLED, |
230 | 230 |
231 // Favicon ------------------------------------------------------------------ | |
232 | |
233 // Sent by FaviconTabHelper when a tab's favicon has been successfully | |
234 // updated. The details are a bool indicating whether the | |
235 // NavigationEntry's favicon URL has changed since the previous | |
236 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if | |
237 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the | |
238 // current NavigationEntry. | |
239 NOTIFICATION_FAVICON_UPDATED, | |
240 | |
241 // Profiles ----------------------------------------------------------------- | 231 // Profiles ----------------------------------------------------------------- |
242 | 232 |
243 // Sent after a Profile has been created. This notification is sent both for | 233 // Sent after a Profile has been created. This notification is sent both for |
244 // normal and OTR profiles. | 234 // normal and OTR profiles. |
245 // The details are none and the source is the new profile. | 235 // The details are none and the source is the new profile. |
246 NOTIFICATION_PROFILE_CREATED, | 236 NOTIFICATION_PROFILE_CREATED, |
247 | 237 |
248 // Sent after a Profile has been added to ProfileManager. | 238 // Sent after a Profile has been added to ProfileManager. |
249 // The details are none and the source is the new profile. | 239 // The details are none and the source is the new profile. |
250 NOTIFICATION_PROFILE_ADDED, | 240 NOTIFICATION_PROFILE_ADDED, |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
616 // Note:- | 606 // Note:- |
617 // Currently only Content and Chrome define and use notifications. | 607 // Currently only Content and Chrome define and use notifications. |
618 // Custom notifications not belonging to Content and Chrome should start | 608 // Custom notifications not belonging to Content and Chrome should start |
619 // from here. | 609 // from here. |
620 NOTIFICATION_CHROME_END, | 610 NOTIFICATION_CHROME_END, |
621 }; | 611 }; |
622 | 612 |
623 } // namespace chrome | 613 } // namespace chrome |
624 | 614 |
625 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 615 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |