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 930 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
941 // Sent when panel is minimized/restored/shows title only etc. | 941 // Sent when panel is minimized/restored/shows title only etc. |
942 // The source is the Panel, no details. | 942 // The source is the Panel, no details. |
943 // Used only in unit testing. | 943 // Used only in unit testing. |
944 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, | 944 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, |
945 | 945 |
946 // Sent when panel window size is known. This is for platforms where the | 946 // Sent when panel window size is known. This is for platforms where the |
947 // window creation is async and size of the window only becomes known later. | 947 // window creation is async and size of the window only becomes known later. |
948 // Used only in unit testing. | 948 // Used only in unit testing. |
949 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, | 949 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, |
950 | 950 |
| 951 // Sent when panel's bounds get changed. |
| 952 // The source is the Panel, no details. |
| 953 // Used only in coordination with notification balloons. |
| 954 NOTIFICATION_PANEL_CHANGED_BOUNDS, |
| 955 |
| 956 // Sent when panel is added into the panel manager. |
| 957 // The source is the Panel, no details. |
| 958 // Used only in coordination with notification balloons. |
| 959 NOTIFICATION_PANEL_ADDED, |
| 960 |
| 961 // Sent when panel is removed from the panel manager. |
| 962 // The source is the Panel, no details. |
| 963 // Used only in coordination with notification balloons. |
| 964 NOTIFICATION_PANEL_REMOVED, |
| 965 |
951 // Sent when a global error has changed and the error UI should update it | 966 // Sent when a global error has changed and the error UI should update it |
952 // self. The source is a Source<Profile> containing the profile for the | 967 // self. The source is a Source<Profile> containing the profile for the |
953 // error. The detail is a GlobalError object that has changed or NULL if | 968 // error. The detail is a GlobalError object that has changed or NULL if |
954 // all error UIs should update. | 969 // all error UIs should update. |
955 NOTIFICATION_GLOBAL_ERRORS_CHANGED, | 970 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
956 | 971 |
957 // Note:- | 972 // Note:- |
958 // Currently only Content and Chrome define and use notifications. | 973 // Currently only Content and Chrome define and use notifications. |
959 // Custom notifications not belonging to Content and Chrome should start | 974 // Custom notifications not belonging to Content and Chrome should start |
960 // from here. | 975 // from here. |
961 NOTIFICATION_CHROME_END, | 976 NOTIFICATION_CHROME_END, |
962 }; | 977 }; |
963 | 978 |
964 } // namespace chrome | 979 } // namespace chrome |
965 | 980 |
966 | 981 |
967 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 982 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |