| 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, |
| 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 panel's bounds get changed. | 955 // Sent when panel's bounds get changed. |
| 951 // The source is the Panel, no details. | 956 // The source is the Panel, no details. |
| 952 // Used only in coordination with notification balloons. | 957 // Used only in coordination with notification balloons. |
| 953 NOTIFICATION_PANEL_CHANGED_BOUNDS, | 958 NOTIFICATION_PANEL_CHANGED_BOUNDS, |
| 954 | 959 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 972 // Currently only Content and Chrome define and use notifications. | 977 // Currently only Content and Chrome define and use notifications. |
| 973 // Custom notifications not belonging to Content and Chrome should start | 978 // Custom notifications not belonging to Content and Chrome should start |
| 974 // from here. | 979 // from here. |
| 975 NOTIFICATION_CHROME_END, | 980 NOTIFICATION_CHROME_END, |
| 976 }; | 981 }; |
| 977 | 982 |
| 978 } // namespace chrome | 983 } // namespace chrome |
| 979 | 984 |
| 980 | 985 |
| 981 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 986 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |