OLD | NEW |
---|---|
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 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_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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
959 // of the screen. | 959 // of the screen. |
960 // Sent when all nonblocking bounds animations are finished across panels. | 960 // Sent when all nonblocking bounds animations are finished across panels. |
961 // Used only in unit testing. | 961 // Used only in unit testing. |
962 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, | 962 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, |
963 | 963 |
964 // Sent when panel gains/loses focus. | 964 // Sent when panel gains/loses focus. |
965 // The source is the Panel, no details. | 965 // The source is the Panel, no details. |
966 // Used only in unit testing. | 966 // Used only in unit testing. |
967 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, | 967 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, |
968 | 968 |
969 // Sent when panel is switched between different layout states. | |
970 // The source is the Panel, no details. | |
971 // Used only in unit testing. | |
972 NOTIFICATION_PANEL_CHANGED_LAYOUT_STATE, | |
prasadt
2012/01/20 04:43:08
Not in alphabetical order.
jianli
2012/01/20 23:33:08
I do not think there is a requirement for this. I
| |
973 | |
969 // Sent when panel is minimized/restored/shows title only etc. | 974 // Sent when panel is minimized/restored/shows title only etc. |
970 // The source is the Panel, no details. | 975 // The source is the Panel, no details. |
971 // Used only in unit testing. | 976 // Used only in unit testing. |
972 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, | 977 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, |
973 | 978 |
974 // Sent when panel window size is known. This is for platforms where the | 979 // Sent when panel window size is known. This is for platforms where the |
975 // window creation is async and size of the window only becomes known later. | 980 // window creation is async and size of the window only becomes known later. |
976 // Used only in unit testing. | 981 // Used only in unit testing. |
977 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, | 982 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, |
978 | 983 |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1010 // Currently only Content and Chrome define and use notifications. | 1015 // Currently only Content and Chrome define and use notifications. |
1011 // Custom notifications not belonging to Content and Chrome should start | 1016 // Custom notifications not belonging to Content and Chrome should start |
1012 // from here. | 1017 // from here. |
1013 NOTIFICATION_CHROME_END, | 1018 NOTIFICATION_CHROME_END, |
1014 }; | 1019 }; |
1015 | 1020 |
1016 } // namespace chrome | 1021 } // namespace chrome |
1017 | 1022 |
1018 | 1023 |
1019 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1024 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |