OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
10 | 10 |
(...skipping 714 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
725 // Foreign sessions has been disabled. New tabs should not display foreign | 725 // Foreign sessions has been disabled. New tabs should not display foreign |
726 // session data. | 726 // session data. |
727 NOTIFICATION_FOREIGN_SESSION_DISABLED, | 727 NOTIFICATION_FOREIGN_SESSION_DISABLED, |
728 | 728 |
729 // Cookies ----------------------------------------------------------------- | 729 // Cookies ----------------------------------------------------------------- |
730 | 730 |
731 // Sent when a cookie changes. The source is a Profile object, the details | 731 // Sent when a cookie changes. The source is a Profile object, the details |
732 // are a ChromeCookieDetails object. | 732 // are a ChromeCookieDetails object. |
733 NOTIFICATION_COOKIE_CHANGED, | 733 NOTIFICATION_COOKIE_CHANGED, |
734 | 734 |
735 // Sidebar ----------------------------------------------------------------- | |
736 | |
737 // Sent when the sidebar state is changed. | |
738 // The source is a SidebarManager instance, the details are the changed | |
739 // SidebarContainer object. | |
740 NOTIFICATION_SIDEBAR_CHANGED, | |
741 | |
742 // Token Service ----------------------------------------------------------- | 735 // Token Service ----------------------------------------------------------- |
743 | 736 |
744 // When the token service has a new token available for a service, one of | 737 // When the token service has a new token available for a service, one of |
745 // these notifications is issued per new token. | 738 // these notifications is issued per new token. |
746 // The source is a TokenService on the Profile. The details are a | 739 // The source is a TokenService on the Profile. The details are a |
747 // TokenAvailableDetails object. | 740 // TokenAvailableDetails object. |
748 NOTIFICATION_TOKEN_AVAILABLE, | 741 NOTIFICATION_TOKEN_AVAILABLE, |
749 | 742 |
750 // When there aren't any additional tokens left to load, this notification | 743 // When there aren't any additional tokens left to load, this notification |
751 // is sent. | 744 // is sent. |
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1009 // Currently only Content and Chrome define and use notifications. | 1002 // Currently only Content and Chrome define and use notifications. |
1010 // Custom notifications not belonging to Content and Chrome should start | 1003 // Custom notifications not belonging to Content and Chrome should start |
1011 // from here. | 1004 // from here. |
1012 NOTIFICATION_CHROME_END, | 1005 NOTIFICATION_CHROME_END, |
1013 }; | 1006 }; |
1014 | 1007 |
1015 } // namespace chrome | 1008 } // namespace chrome |
1016 | 1009 |
1017 | 1010 |
1018 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1011 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |