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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
10 | 10 |
(...skipping 881 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
892 | 892 |
893 // Sent by the PluginPrefs when there is a change of plugin | 893 // Sent by the PluginPrefs when there is a change of plugin |
894 // enable/disable status. | 894 // enable/disable status. |
895 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | 895 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, |
896 | 896 |
897 // Panels Notifications. The Panels are small browser windows near the bottom | 897 // Panels Notifications. The Panels are small browser windows near the bottom |
898 // of the screen. | 898 // of the screen. |
899 // Sent when all nonblocking bounds animations are finished across panels. | 899 // Sent when all nonblocking bounds animations are finished across panels. |
900 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, | 900 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, |
901 | 901 |
| 902 // Sent when a global error has changed and the error UI should update it |
| 903 // self. The source is a Source<Profile> containing the profile for the |
| 904 // error. The detail is a GlobalError object that has changed or NULL if |
| 905 // all error UIs should update. |
| 906 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
| 907 |
902 // Note:- | 908 // Note:- |
903 // Currently only Content and Chrome define and use notifications. | 909 // Currently only Content and Chrome define and use notifications. |
904 // Custom notifications not belonging to Content and Chrome should start | 910 // Custom notifications not belonging to Content and Chrome should start |
905 // from here. | 911 // from here. |
906 NOTIFICATION_CHROME_END, | 912 NOTIFICATION_CHROME_END, |
907 }; | 913 }; |
908 | 914 |
909 } // namespace chrome | 915 } // namespace chrome |
910 | 916 |
911 | 917 |
912 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 918 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |