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 924 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
935 // Sent when panel gains/loses focus. | 935 // Sent when panel gains/loses focus. |
936 // The source is the Panel, no details. | 936 // The source is the Panel, no details. |
937 // Used only in unit testing. | 937 // Used only in unit testing. |
938 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, | 938 NOTIFICATION_PANEL_CHANGED_ACTIVE_STATUS, |
939 | 939 |
940 // Sent when panel is minimized/restored/shows title only etc. | 940 // Sent when panel is minimized/restored/shows title only etc. |
941 // The source is the Panel, no details. | 941 // The source is the Panel, no details. |
942 // Used only in unit testing. | 942 // Used only in unit testing. |
943 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, | 943 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, |
944 | 944 |
945 // Sent from the destructor of Panel class. | |
946 // Source is the panel being deleted. No details. | |
947 // Used only in unit testing. | |
948 NOTIFICATION_PANEL_DELETED, | |
Dmitry Titov
2011/11/11 05:18:10
is this notification used? I see where it is fired
prasadt
2011/11/11 18:29:58
Its listened for in panel_browsertest.cc
| |
949 | |
945 // Sent when panel window size is known. This is for platforms where the | 950 // Sent when panel window size is known. This is for platforms where the |
946 // window creation is async and size of the window only becomes known later. | 951 // window creation is async and size of the window only becomes known later. |
947 // Used only in unit testing. | 952 // Used only in unit testing. |
948 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, | 953 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, |
949 | 954 |
950 // Sent when a global error has changed and the error UI should update it | 955 // Sent when a global error has changed and the error UI should update it |
951 // self. The source is a Source<Profile> containing the profile for the | 956 // self. The source is a Source<Profile> containing the profile for the |
952 // error. The detail is a GlobalError object that has changed or NULL if | 957 // error. The detail is a GlobalError object that has changed or NULL if |
953 // all error UIs should update. | 958 // all error UIs should update. |
954 NOTIFICATION_GLOBAL_ERRORS_CHANGED, | 959 NOTIFICATION_GLOBAL_ERRORS_CHANGED, |
955 | 960 |
956 // Note:- | 961 // Note:- |
957 // Currently only Content and Chrome define and use notifications. | 962 // Currently only Content and Chrome define and use notifications. |
958 // Custom notifications not belonging to Content and Chrome should start | 963 // Custom notifications not belonging to Content and Chrome should start |
959 // from here. | 964 // from here. |
960 NOTIFICATION_CHROME_END, | 965 NOTIFICATION_CHROME_END, |
961 }; | 966 }; |
962 | 967 |
963 } // namespace chrome | 968 } // namespace chrome |
964 | 969 |
965 | 970 |
966 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 971 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |