| 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 one or more URLs are deleted. | |
| 234 // | |
| 235 // The source is the profile owning the history service that changed, and | |
| 236 // the details is history::URLsDeletedDetails that lists the deleted URLs. | |
| 237 NOTIFICATION_HISTORY_URLS_DELETED, | |
| 238 | |
| 239 // Sent when a keyword search term is updated. The source is the Profile and | 233 // Sent when a keyword search term is updated. The source is the Profile and |
| 240 // the details is history::KeywordSearchUpdatedDetails. | 234 // the details is history::KeywordSearchUpdatedDetails. |
| 241 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, | 235 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_UPDATED, |
| 242 | 236 |
| 243 // Sent when a keyword search term is deleted. The source is the Profile and | 237 // Sent when a keyword search term is deleted. The source is the Profile and |
| 244 // the details is history::KeywordSearchDeletedDetails. | 238 // the details is history::KeywordSearchDeletedDetails. |
| 245 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, | 239 NOTIFICATION_HISTORY_KEYWORD_SEARCH_TERM_DELETED, |
| 246 | 240 |
| 247 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 241 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
| 248 // updated. The details are a bool indicating whether the | 242 // updated. The details are a bool indicating whether the |
| (...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 // Note:- | 657 // Note:- |
| 664 // Currently only Content and Chrome define and use notifications. | 658 // Currently only Content and Chrome define and use notifications. |
| 665 // Custom notifications not belonging to Content and Chrome should start | 659 // Custom notifications not belonging to Content and Chrome should start |
| 666 // from here. | 660 // from here. |
| 667 NOTIFICATION_CHROME_END, | 661 NOTIFICATION_CHROME_END, |
| 668 }; | 662 }; |
| 669 | 663 |
| 670 } // namespace chrome | 664 } // namespace chrome |
| 671 | 665 |
| 672 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 666 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |