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_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 | 7 |
8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
302 // | 302 // |
303 // The source is the profile owning the history service that changed, and | 303 // The source is the profile owning the history service that changed, and |
304 // the details is history::URLsDeletedDetails that lists the deleted URLs. | 304 // the details is history::URLsDeletedDetails that lists the deleted URLs. |
305 NOTIFICATION_HISTORY_URLS_DELETED, | 305 NOTIFICATION_HISTORY_URLS_DELETED, |
306 | 306 |
307 // Sent when a keyword search term is updated. The source is the Profile and | 307 // Sent when a keyword search term is updated. The source is the Profile and |
308 // the details are history::KeywordSearchTermDetails | 308 // the details are history::KeywordSearchTermDetails |
309 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 309 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
310 | 310 |
311 // Sent by history when the favicon of a URL changes. The source is the | 311 // Sent by history when the favicon of a URL changes. The source is the |
312 // profile, and the details is history::FaviconChangeDetails (see | 312 // profile, and the details is FaviconChangedDetails (see |
313 // history_notifications.h). | 313 // chrome/browser/favicon/favicon_changed_details.h). |
314 NOTIFICATION_FAVICON_CHANGED, | 314 NOTIFICATION_FAVICON_CHANGED, |
315 | 315 |
316 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 316 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
317 // updated. The details are a bool indicating whether the | 317 // updated. The details are a bool indicating whether the |
318 // NavigationEntry's favicon URL has changed since the previous | 318 // NavigationEntry's favicon URL has changed since the previous |
319 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if | 319 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if |
320 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the | 320 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the |
321 // current NavigationEntry. | 321 // current NavigationEntry. |
322 NOTIFICATION_FAVICON_UPDATED, | 322 NOTIFICATION_FAVICON_UPDATED, |
323 | 323 |
(...skipping 921 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1245 // Note:- | 1245 // Note:- |
1246 // Currently only Content and Chrome define and use notifications. | 1246 // Currently only Content and Chrome define and use notifications. |
1247 // Custom notifications not belonging to Content and Chrome should start | 1247 // Custom notifications not belonging to Content and Chrome should start |
1248 // from here. | 1248 // from here. |
1249 NOTIFICATION_CHROME_END, | 1249 NOTIFICATION_CHROME_END, |
1250 }; | 1250 }; |
1251 | 1251 |
1252 } // namespace chrome | 1252 } // namespace chrome |
1253 | 1253 |
1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |