| 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 | 7 |
| 8 #include "build/build_config.h" | 8 #include "build/build_config.h" |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 1207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1218 | 1218 |
| 1219 // Sent when panel is minimized/restored/shows title only etc. | 1219 // Sent when panel is minimized/restored/shows title only etc. |
| 1220 // The source is the Panel, no details. | 1220 // The source is the Panel, no details. |
| 1221 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, | 1221 NOTIFICATION_PANEL_CHANGED_EXPANSION_STATE, |
| 1222 | 1222 |
| 1223 // Sent when panel window size is known. This is for platforms where the | 1223 // Sent when panel window size is known. This is for platforms where the |
| 1224 // window creation is async and size of the window only becomes known later. | 1224 // window creation is async and size of the window only becomes known later. |
| 1225 // Used only in unit testing. | 1225 // Used only in unit testing. |
| 1226 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, | 1226 NOTIFICATION_PANEL_WINDOW_SIZE_KNOWN, |
| 1227 | 1227 |
| 1228 // Sent when panel app icon is loaded. |
| 1229 // Used only in unit testing. |
| 1230 NOTIFICATION_PANEL_APP_ICON_LOADED, |
| 1231 |
| 1228 // Sent when panel strip get updated. | 1232 // Sent when panel strip get updated. |
| 1229 // The source is the PanelStrip, no details. | 1233 // The source is the PanelStrip, no details. |
| 1230 // Used only in coordination with notification balloons. | 1234 // Used only in coordination with notification balloons. |
| 1231 NOTIFICATION_PANEL_STRIP_UPDATED, | 1235 NOTIFICATION_PANEL_STRIP_UPDATED, |
| 1232 | 1236 |
| 1233 // Sent when panel is closed. | 1237 // Sent when panel is closed. |
| 1234 // The source is the Panel, no details. | 1238 // The source is the Panel, no details. |
| 1235 NOTIFICATION_PANEL_CLOSED, | 1239 NOTIFICATION_PANEL_CLOSED, |
| 1236 | 1240 |
| 1237 // Sent when a global error has changed and the error UI should update it | 1241 // Sent when a global error has changed and the error UI should update it |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1272 // Currently only Content and Chrome define and use notifications. | 1276 // Currently only Content and Chrome define and use notifications. |
| 1273 // Custom notifications not belonging to Content and Chrome should start | 1277 // Custom notifications not belonging to Content and Chrome should start |
| 1274 // from here. | 1278 // from here. |
| 1275 NOTIFICATION_CHROME_END, | 1279 NOTIFICATION_CHROME_END, |
| 1276 }; | 1280 }; |
| 1277 | 1281 |
| 1278 } // namespace chrome | 1282 } // namespace chrome |
| 1279 | 1283 |
| 1280 | 1284 |
| 1281 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1285 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |