| 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 updated. The source is the Profile and | |
| 240 // the details is history::KeywordSearchUpdatedDetails. | |
| 241 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | |
| 242 | |
| 243 // Sent when a keyword search term is deleted. The source is the Profile and | 239 // Sent when a keyword search term is deleted. The source is the Profile and |
| 244 // the details is history::KeywordSearchDeletedDetails. | 240 // the details is history::KeywordSearchDeletedDetails. |
| 245 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, | 241 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, |
| 246 | 242 |
| 247 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 243 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
| 248 // updated. The details are a bool indicating whether the | 244 // updated. The details are a bool indicating whether the |
| 249 // NavigationEntry's favicon URL has changed since the previous | 245 // NavigationEntry's favicon URL has changed since the previous |
| 250 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if | 246 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if |
| 251 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the | 247 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the |
| 252 // current NavigationEntry. | 248 // current NavigationEntry. |
| (...skipping 410 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 // Note:- | 659 // Note:- |
| 664 // Currently only Content and Chrome define and use notifications. | 660 // Currently only Content and Chrome define and use notifications. |
| 665 // Custom notifications not belonging to Content and Chrome should start | 661 // Custom notifications not belonging to Content and Chrome should start |
| 666 // from here. | 662 // from here. |
| 667 NOTIFICATION_CHROME_END, | 663 NOTIFICATION_CHROME_END, |
| 668 }; | 664 }; |
| 669 | 665 |
| 670 } // namespace chrome | 666 } // namespace chrome |
| 671 | 667 |
| 672 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 668 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |