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 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 NOTIFICATION_AUTH_CANCELLED, | 229 NOTIFICATION_AUTH_CANCELLED, |
230 | 230 |
231 // History ----------------------------------------------------------------- | 231 // History ----------------------------------------------------------------- |
232 | 232 |
233 // Sent when one or more URLs are deleted. | 233 // Sent when one or more URLs are deleted. |
234 // | 234 // |
235 // The source is the profile owning the history service that changed, and | 235 // The source is the profile owning the history service that changed, and |
236 // the details is history::URLsDeletedDetails that lists the deleted URLs. | 236 // the details is history::URLsDeletedDetails that lists the deleted URLs. |
237 NOTIFICATION_HISTORY_URLS_DELETED, | 237 NOTIFICATION_HISTORY_URLS_DELETED, |
238 | 238 |
239 // Sent when a keyword search term is deleted. The source is the Profile and | |
240 // the details is history::KeywordSearchDeletedDetails. | |
241 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, | |
242 | |
243 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 239 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
244 // updated. The details are a bool indicating whether the | 240 // updated. The details are a bool indicating whether the |
245 // NavigationEntry's favicon URL has changed since the previous | 241 // NavigationEntry's favicon URL has changed since the previous |
246 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if | 242 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if |
247 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the | 243 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the |
248 // current NavigationEntry. | 244 // current NavigationEntry. |
249 NOTIFICATION_FAVICON_UPDATED, | 245 NOTIFICATION_FAVICON_UPDATED, |
250 | 246 |
251 // Profiles ----------------------------------------------------------------- | 247 // Profiles ----------------------------------------------------------------- |
252 | 248 |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 // Note:- | 655 // Note:- |
660 // Currently only Content and Chrome define and use notifications. | 656 // Currently only Content and Chrome define and use notifications. |
661 // Custom notifications not belonging to Content and Chrome should start | 657 // Custom notifications not belonging to Content and Chrome should start |
662 // from here. | 658 // from here. |
663 NOTIFICATION_CHROME_END, | 659 NOTIFICATION_CHROME_END, |
664 }; | 660 }; |
665 | 661 |
666 } // namespace chrome | 662 } // namespace chrome |
667 | 663 |
668 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 664 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |