| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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 945 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 956 | 956 |
| 957 // Sent when a network error message is displayed on the WebUI login screen. | 957 // Sent when a network error message is displayed on the WebUI login screen. |
| 958 // First paint event of this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. | 958 // First paint event of this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. |
| 959 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, | 959 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, |
| 960 | 960 |
| 961 // Sent when the first OOBE screen has been displayed. Note that the screen | 961 // Sent when the first OOBE screen has been displayed. Note that the screen |
| 962 // may not be fully rendered at this point. | 962 // may not be fully rendered at this point. |
| 963 // First paint event after this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. | 963 // First paint event after this fires NOTIFICATION_LOGIN_WEBUI_VISIBLE. |
| 964 NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN, | 964 NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN, |
| 965 | 965 |
| 966 // Sent when the EULA has been accepted in the first-run wizard. This is never | |
| 967 // sent if the EULA was already accepted at startup. | |
| 968 NOTIFICATION_WIZARD_EULA_ACCEPTED, | |
| 969 | |
| 970 // Sent when the specific part of login WebUI is considered to be visible. | 966 // Sent when the specific part of login WebUI is considered to be visible. |
| 971 // That moment is tracked as the first paint event after one of the: | 967 // That moment is tracked as the first paint event after one of the: |
| 972 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED | 968 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED |
| 973 // 2. NOTIFICATION_LOGIN_WEBUI_LOADED | 969 // 2. NOTIFICATION_LOGIN_WEBUI_LOADED |
| 974 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN | 970 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN |
| 975 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN | 971 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN |
| 976 // 5. NOTIFICATION_DEMO_WEBUI_LOADED | 972 // 5. NOTIFICATION_DEMO_WEBUI_LOADED |
| 977 // | 973 // |
| 978 // Possible series of notifications: | 974 // Possible series of notifications: |
| 979 // 1. Boot into fresh OOBE | 975 // 1. Boot into fresh OOBE |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1245 // Note:- | 1241 // Note:- |
| 1246 // Currently only Content and Chrome define and use notifications. | 1242 // Currently only Content and Chrome define and use notifications. |
| 1247 // Custom notifications not belonging to Content and Chrome should start | 1243 // Custom notifications not belonging to Content and Chrome should start |
| 1248 // from here. | 1244 // from here. |
| 1249 NOTIFICATION_CHROME_END, | 1245 NOTIFICATION_CHROME_END, |
| 1250 }; | 1246 }; |
| 1251 | 1247 |
| 1252 } // namespace chrome | 1248 } // namespace chrome |
| 1253 | 1249 |
| 1254 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1250 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |