| 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 212 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 223 | 223 |
| 224 // This is sent when an authentication request has been dismissed without | 224 // This is sent when an authentication request has been dismissed without |
| 225 // supplying credentials (either by the user or by an automation service). | 225 // supplying credentials (either by the user or by an automation service). |
| 226 // The source is the Source<NavigationController> for the tab in which the | 226 // The source is the Source<NavigationController> for the tab in which the |
| 227 // prompt was shown. Details are a LoginNotificationDetails which provide | 227 // prompt was shown. Details are a LoginNotificationDetails which provide |
| 228 // the LoginHandler that should be cancelled. | 228 // the LoginHandler that should be cancelled. |
| 229 NOTIFICATION_AUTH_CANCELLED, | 229 NOTIFICATION_AUTH_CANCELLED, |
| 230 | 230 |
| 231 // History ----------------------------------------------------------------- | 231 // History ----------------------------------------------------------------- |
| 232 | 232 |
| 233 // Sent when a history service has finished loading. The source is the | |
| 234 // profile that the history service belongs to, and the details is the | |
| 235 // HistoryService. | |
| 236 NOTIFICATION_HISTORY_LOADED, | |
| 237 | |
| 238 // Sent when one or more URLs are deleted. | 233 // Sent when one or more URLs are deleted. |
| 239 // | 234 // |
| 240 // 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 |
| 241 // the details is history::URLsDeletedDetails that lists the deleted URLs. | 236 // the details is history::URLsDeletedDetails that lists the deleted URLs. |
| 242 NOTIFICATION_HISTORY_URLS_DELETED, | 237 NOTIFICATION_HISTORY_URLS_DELETED, |
| 243 | 238 |
| 244 // Sent when a keyword search term is updated. The source is the Profile and | 239 // Sent when a keyword search term is updated. The source is the Profile and |
| 245 // the details is history::KeywordSearchUpdatedDetails. | 240 // the details is history::KeywordSearchUpdatedDetails. |
| 246 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 241 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
| 247 | 242 |
| (...skipping 420 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 // Note:- | 663 // Note:- |
| 669 // Currently only Content and Chrome define and use notifications. | 664 // Currently only Content and Chrome define and use notifications. |
| 670 // Custom notifications not belonging to Content and Chrome should start | 665 // Custom notifications not belonging to Content and Chrome should start |
| 671 // from here. | 666 // from here. |
| 672 NOTIFICATION_CHROME_END, | 667 NOTIFICATION_CHROME_END, |
| 673 }; | 668 }; |
| 674 | 669 |
| 675 } // namespace chrome | 670 } // namespace chrome |
| 676 | 671 |
| 677 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 672 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |