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 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
614 // Sent when panel is closed. | 614 // Sent when panel is closed. |
615 // The source is the Panel, no details. | 615 // The source is the Panel, no details. |
616 NOTIFICATION_PANEL_CLOSED, | 616 NOTIFICATION_PANEL_CLOSED, |
617 | 617 |
618 // Sent when a global error has changed and the error UI should update it | 618 // Sent when a global error has changed and the error UI should update it |
619 // self. The source is a Source<Profile> containing the profile for the | 619 // self. The source is a Source<Profile> containing the profile for the |
620 // error. The detail is a GlobalError object that has changed or NULL if | 620 // error. The detail is a GlobalError object that has changed or NULL if |
621 // all error UIs should update. | 621 // all error UIs should update. |
622 NOTIFICATION_GLOBAL_ERRORS_CHANGED, | 622 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
623 | 623 |
624 // BrowsingDataRemover ---------------------------------------------------- | |
625 // Sent on the UI thread after BrowsingDataRemover has removed browsing data | |
626 // but before it has notified its explicit observers. The source is a | |
627 // Source<Profile> containing the profile in which browsing data was removed, | |
628 // and the detail is a BrowsingDataRemover::NotificationDetail containing the | |
629 // removal mask and the start of the removal timeframe with which | |
630 // BrowsingDataRemove::Remove was called. | |
631 NOTIFICATION_BROWSING_DATA_REMOVED, | |
632 | |
633 // The user accepted or dismissed a SSL client authentication request. | 624 // The user accepted or dismissed a SSL client authentication request. |
634 // The source is a Source<net::HttpNetworkSession>. Details is a | 625 // The source is a Source<net::HttpNetworkSession>. Details is a |
635 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). | 626 // (std::pair<net::SSLCertRequestInfo*, net::X509Certificate*>). |
636 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, | 627 NOTIFICATION_SSL_CLIENT_AUTH_CERT_SELECTED, |
637 | 628 |
638 // Session Restore -------------------------------------------------------- | 629 // Session Restore -------------------------------------------------------- |
639 | 630 |
640 // Sent when synchronous (startup) session restore completes. No details or | 631 // Sent when synchronous (startup) session restore completes. No details or |
641 // source. | 632 // source. |
642 NOTIFICATION_SESSION_RESTORE_DONE, | 633 NOTIFICATION_SESSION_RESTORE_DONE, |
643 | 634 |
644 // Note:- | 635 // Note:- |
645 // Currently only Content and Chrome define and use notifications. | 636 // Currently only Content and Chrome define and use notifications. |
646 // Custom notifications not belonging to Content and Chrome should start | 637 // Custom notifications not belonging to Content and Chrome should start |
647 // from here. | 638 // from here. |
648 NOTIFICATION_CHROME_END, | 639 NOTIFICATION_CHROME_END, |
649 }; | 640 }; |
650 | 641 |
651 } // namespace chrome | 642 } // namespace chrome |
652 | 643 |
653 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 644 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |