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