| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
| 10 | 10 |
| (...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 266 | 266 |
| 267 // Sent by history when the favicon of a URL changes. The source is the | 267 // Sent by history when the favicon of a URL changes. The source is the |
| 268 // profile, and the details is history::FaviconChangeDetails (see | 268 // profile, and the details is history::FaviconChangeDetails (see |
| 269 // history_notifications.h). | 269 // history_notifications.h). |
| 270 NOTIFICATION_FAVICON_CHANGED, | 270 NOTIFICATION_FAVICON_CHANGED, |
| 271 | 271 |
| 272 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 272 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
| 273 // updated. | 273 // updated. |
| 274 NOTIFICATION_FAVICON_UPDATED, | 274 NOTIFICATION_FAVICON_UPDATED, |
| 275 | 275 |
| 276 // Sent after an incognito profile has been created. The details are none | 276 // Sent after a Profile has been created. This notification is sent both for |
| 277 // and the source is the new profile. | 277 // normal and OTR profiles. |
| 278 NOTIFICATION_OTR_PROFILE_CREATED, | 278 // The details are none and the source is the new profile. |
| 279 NOTIFICATION_PROFILE_CREATED, |
| 279 | 280 |
| 280 // Sent before a Profile is destroyed. The details are | 281 // Sent before a Profile is destroyed. This notification is sent both for |
| 281 // none and the source is a Profile*. | 282 // normal and OTR profiles. |
| 283 // The details are none and the source is a Profile*. |
| 282 NOTIFICATION_PROFILE_DESTROYED, | 284 NOTIFICATION_PROFILE_DESTROYED, |
| 283 | 285 |
| 284 // TopSites ---------------------------------------------------------------- | 286 // TopSites ---------------------------------------------------------------- |
| 285 | 287 |
| 286 // Sent by TopSites when it finishes loading. The source is the profile the | 288 // Sent by TopSites when it finishes loading. The source is the profile the |
| 287 // details the TopSites. | 289 // details the TopSites. |
| 288 NOTIFICATION_TOP_SITES_LOADED, | 290 NOTIFICATION_TOP_SITES_LOADED, |
| 289 | 291 |
| 290 // Sent by TopSites when it has finished updating its most visited URLs | 292 // Sent by TopSites when it has finished updating its most visited URLs |
| 291 // cache after querying the history service. The source is the TopSites and | 293 // cache after querying the history service. The source is the TopSites and |
| (...skipping 632 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 924 // Currently only Content and Chrome define and use notifications. | 926 // Currently only Content and Chrome define and use notifications. |
| 925 // Custom notifications not belonging to Content and Chrome should start | 927 // Custom notifications not belonging to Content and Chrome should start |
| 926 // from here. | 928 // from here. |
| 927 NOTIFICATION_CHROME_END, | 929 NOTIFICATION_CHROME_END, |
| 928 }; | 930 }; |
| 929 | 931 |
| 930 } // namespace chrome | 932 } // namespace chrome |
| 931 | 933 |
| 932 | 934 |
| 933 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 935 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |