| 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 1004 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1015 | 1015 |
| 1016 // Sent when a network error message is displayed on the WebUI login screen. | 1016 // Sent when a network error message is displayed on the WebUI login screen. |
| 1017 // First paint event of this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. | 1017 // First paint event of this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. |
| 1018 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, | 1018 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, |
| 1019 | 1019 |
| 1020 // Sent when the first OOBE screen has been displayed. Note that the screen | 1020 // Sent when the first OOBE screen has been displayed. Note that the screen |
| 1021 // may not be fully rendered at this point. | 1021 // may not be fully rendered at this point. |
| 1022 // First paint event after this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. | 1022 // First paint event after this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. |
| 1023 NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN, | 1023 NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN, |
| 1024 | 1024 |
| 1025 // Sent when the EULA has been accepted in the first-run wizard. This is never |
| 1026 // sent if the EULA was already accepted at startup. |
| 1027 NOTIFICATION_WIZARD_EULA_ACCEPTED, |
| 1028 |
| 1025 // Sent when the specific part of login WebUI is considered to be visible. | 1029 // Sent when the specific part of login WebUI is considered to be visible. |
| 1026 // That moment is tracked as the first paint event after one of the: | 1030 // That moment is tracked as the first paint event after one of the: |
| 1027 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED | 1031 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED |
| 1028 // 2. NOTIFICATION_LOGIN_WEBUI_LOADED | 1032 // 2. NOTIFICATION_LOGIN_WEBUI_LOADED |
| 1029 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN | 1033 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN |
| 1030 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN | 1034 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN |
| 1031 // 5. NOTIFICATION_DEMO_WEBUI_LOADED | 1035 // 5. NOTIFICATION_DEMO_WEBUI_LOADED |
| 1032 // | 1036 // |
| 1033 // Possible series of notifications: | 1037 // Possible series of notifications: |
| 1034 // 1. Boot into fresh OOBE | 1038 // 1. Boot into fresh OOBE |
| (...skipping 226 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1261 // Currently only Content and Chrome define and use notifications. | 1265 // Currently only Content and Chrome define and use notifications. |
| 1262 // Custom notifications not belonging to Content and Chrome should start | 1266 // Custom notifications not belonging to Content and Chrome should start |
| 1263 // from here. | 1267 // from here. |
| 1264 NOTIFICATION_CHROME_END, | 1268 NOTIFICATION_CHROME_END, |
| 1265 }; | 1269 }; |
| 1266 | 1270 |
| 1267 } // namespace chrome | 1271 } // namespace chrome |
| 1268 | 1272 |
| 1269 | 1273 |
| 1270 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1274 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |