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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 // username and password. | 221 // username and password. |
222 NOTIFICATION_AUTH_SUPPLIED, | 222 NOTIFICATION_AUTH_SUPPLIED, |
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 // Favicon ------------------------------------------------------------------ |
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 | 232 |
239 // Sent by FaviconTabHelper when a tab's favicon has been successfully | 233 // Sent by FaviconTabHelper when a tab's favicon has been successfully |
240 // updated. The details are a bool indicating whether the | 234 // updated. The details are a bool indicating whether the |
241 // NavigationEntry's favicon URL has changed since the previous | 235 // NavigationEntry's favicon URL has changed since the previous |
242 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if | 236 // NOTIFICATION_FAVICON_UPDATED notification. The details are true if |
243 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the | 237 // there was no previous NOTIFICATION_FAVICON_UPDATED notification for the |
244 // current NavigationEntry. | 238 // current NavigationEntry. |
245 NOTIFICATION_FAVICON_UPDATED, | 239 NOTIFICATION_FAVICON_UPDATED, |
246 | 240 |
247 // Profiles ----------------------------------------------------------------- | 241 // Profiles ----------------------------------------------------------------- |
(...skipping 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
644 // Note:- | 638 // Note:- |
645 // Currently only Content and Chrome define and use notifications. | 639 // Currently only Content and Chrome define and use notifications. |
646 // Custom notifications not belonging to Content and Chrome should start | 640 // Custom notifications not belonging to Content and Chrome should start |
647 // from here. | 641 // from here. |
648 NOTIFICATION_CHROME_END, | 642 NOTIFICATION_CHROME_END, |
649 }; | 643 }; |
650 | 644 |
651 } // namespace chrome | 645 } // namespace chrome |
652 | 646 |
653 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 647 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |