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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
279 | 279 |
280 // Sent by history when the favicon of a URL changes. The source is the | 280 // Sent by history when the favicon of a URL changes. The source is the |
281 // profile, and the details is history::FaviconChangeDetails (see | 281 // profile, and the details is history::FaviconChangeDetails (see |
282 // history_notifications.h). | 282 // history_notifications.h). |
283 NOTIFICATION_FAVICON_CHANGED, | 283 NOTIFICATION_FAVICON_CHANGED, |
284 | 284 |
285 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 285 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
286 // updated. | 286 // updated. |
287 NOTIFICATION_FAVICON_UPDATED, | 287 NOTIFICATION_FAVICON_UPDATED, |
288 | 288 |
| 289 // Profiles ----------------------------------------------------------------- |
| 290 |
289 // Sent after a Profile has been created. This notification is sent both for | 291 // Sent after a Profile has been created. This notification is sent both for |
290 // normal and OTR profiles. | 292 // normal and OTR profiles. |
291 // The details are none and the source is the new profile. | 293 // The details are none and the source is the new profile. |
292 NOTIFICATION_PROFILE_CREATED, | 294 NOTIFICATION_PROFILE_CREATED, |
293 | 295 |
294 // Sent after a Profile has been added to ProfileManager. | 296 // Sent after a Profile has been added to ProfileManager. |
295 // The details are none and the source is the new profile. | 297 // The details are none and the source is the new profile. |
296 NOTIFICATION_PROFILE_ADDED, | 298 NOTIFICATION_PROFILE_ADDED, |
297 | 299 |
298 // Sent before a Profile is destroyed. This notification is sent both for | 300 // Sent before a Profile is destroyed. This notification is sent both for |
299 // normal and OTR profiles. | 301 // normal and OTR profiles. |
300 // The details are none and the source is a Profile*. | 302 // The details are none and the source is a Profile*. |
301 NOTIFICATION_PROFILE_DESTROYED, | 303 NOTIFICATION_PROFILE_DESTROYED, |
302 | 304 |
| 305 // Sent after the URLRequestContextGetter for a Profile has been initialized. |
| 306 // The details are none and the source is a Profile*. |
| 307 NOTIFICATION_PROFILE_URL_REQUEST_CONTEXT_GETTER_INITIALIZED, |
| 308 |
303 // TopSites ---------------------------------------------------------------- | 309 // TopSites ---------------------------------------------------------------- |
304 | 310 |
305 // Sent by TopSites when it finishes loading. The source is the profile the | 311 // Sent by TopSites when it finishes loading. The source is the profile the |
306 // details the TopSites. | 312 // details the TopSites. |
307 NOTIFICATION_TOP_SITES_LOADED, | 313 NOTIFICATION_TOP_SITES_LOADED, |
308 | 314 |
309 // Sent by TopSites when it has finished updating its most visited URLs | 315 // Sent by TopSites when it has finished updating its most visited URLs |
310 // cache after querying the history service. The source is the TopSites and | 316 // cache after querying the history service. The source is the TopSites and |
311 // the details a CancelableRequestProvider::Handle from the history service | 317 // the details a CancelableRequestProvider::Handle from the history service |
312 // query. | 318 // query. |
(...skipping 880 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1193 // Currently only Content and Chrome define and use notifications. | 1199 // Currently only Content and Chrome define and use notifications. |
1194 // Custom notifications not belonging to Content and Chrome should start | 1200 // Custom notifications not belonging to Content and Chrome should start |
1195 // from here. | 1201 // from here. |
1196 NOTIFICATION_CHROME_END, | 1202 NOTIFICATION_CHROME_END, |
1197 }; | 1203 }; |
1198 | 1204 |
1199 } // namespace chrome | 1205 } // namespace chrome |
1200 | 1206 |
1201 | 1207 |
1202 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1208 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |