| 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. |
| 1026 NOTIFICATION_WIZARD_EULA_ACCEPTED, |
| 1027 |
| 1025 // Sent when the specific part of login WebUI is considered to be visible. | 1028 // 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: | 1029 // That moment is tracked as the first paint event after one of the: |
| 1027 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED | 1030 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED |
| 1028 // 2. NOTIFICATION_LOGIN_WEBUI_LOADED | 1031 // 2. NOTIFICATION_LOGIN_WEBUI_LOADED |
| 1029 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN | 1032 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN |
| 1030 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN | 1033 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN |
| 1031 // 5. NOTIFICATION_DEMO_WEBUI_LOADED | 1034 // 5. NOTIFICATION_DEMO_WEBUI_LOADED |
| 1032 // | 1035 // |
| 1033 // Possible series of notifications: | 1036 // Possible series of notifications: |
| 1034 // 1. Boot into fresh OOBE | 1037 // 1. Boot into fresh OOBE |
| (...skipping 220 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1255 // Currently only Content and Chrome define and use notifications. | 1258 // Currently only Content and Chrome define and use notifications. |
| 1256 // Custom notifications not belonging to Content and Chrome should start | 1259 // Custom notifications not belonging to Content and Chrome should start |
| 1257 // from here. | 1260 // from here. |
| 1258 NOTIFICATION_CHROME_END, | 1261 NOTIFICATION_CHROME_END, |
| 1259 }; | 1262 }; |
| 1260 | 1263 |
| 1261 } // namespace chrome | 1264 } // namespace chrome |
| 1262 | 1265 |
| 1263 | 1266 |
| 1264 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1267 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |