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 925 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
936 // of the screen. | 936 // of the screen. |
937 // Sent when all nonblocking bounds animations are finished across panels. | 937 // Sent when all nonblocking bounds animations are finished across panels. |
938 // Used only in unit testing. | 938 // Used only in unit testing. |
939 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, | 939 NOTIFICATION_PANEL_BOUNDS_ANIMATIONS_FINISHED, |
940 | 940 |
941 // Sent when panel gains/loses focus. | 941 // Sent when panel gains/loses focus. |
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_ACTIVE_STATUS, | 944 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, |
945 | 945 |
| 946 // Sent when panel is minimized/restored/shows title only etc. |
| 947 // The source is the Panel, no details. |
| 948 // Used only in unit testing. |
| 949 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, |
| 950 |
946 // Sent when panel window size is known. This is for platforms where the | 951 // 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. | 952 // window creation is async and size of the window only becomes known later. |
948 // Used only in unit testing. | 953 // Used only in unit testing. |
949 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, | 954 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, |
950 | 955 |
951 // Sent when a global error has changed and the error UI should update it | 956 // 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 | 957 // 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 | 958 // error. The detail is a GlobalError object that has changed or NULL if |
954 // all error UIs should update. | 959 // all error UIs should update. |
955 NOTIFICATION_GLOBAL_ERRORS_CHANGED, | 960 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
956 | 961 |
957 // Note:- | 962 // Note:- |
958 // Currently only Content and Chrome define and use notifications. | 963 // Currently only Content and Chrome define and use notifications. |
959 // Custom notifications not belonging to Content and Chrome should start | 964 // Custom notifications not belonging to Content and Chrome should start |
960 // from here. | 965 // from here. |
961 NOTIFICATION_CHROME_END, | 966 NOTIFICATION_CHROME_END, |
962 }; | 967 }; |
963 | 968 |
964 } // namespace chrome | 969 } // namespace chrome |
965 | 970 |
966 | 971 |
967 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 972 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |