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 #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 873 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
884 | 884 |
885 // Sent when webui lock screen is ready. | 885 // Sent when webui lock screen is ready. |
886 NOTIFICATION_LOCK_WEBUI_READY, | 886 NOTIFICATION_LOCK_WEBUI_READY, |
887 | 887 |
888 // Sent when webui login screen is ready and gaia iframe has loaded. | 888 // Sent when webui login screen is ready and gaia iframe has loaded. |
889 NOTIFICATION_LOGIN_WEBUI_READY, | 889 NOTIFICATION_LOGIN_WEBUI_READY, |
890 | 890 |
891 // Sent when the user images on the WebUI login screen have all been loaded. | 891 // Sent when the user images on the WebUI login screen have all been loaded. |
892 NOTIFICATION_LOGIN_USER_IMAGES_LOADED, | 892 NOTIFICATION_LOGIN_USER_IMAGES_LOADED, |
893 | 893 |
| 894 // Sent when the login WebUI is considered to be fully visible. |
| 895 // That momemnt is tracked as the first paint event after one of the: |
| 896 // 1. NOTIFICATION_LOGIN_USER_IMAGES_LOADED |
| 897 // 2. NOTIFICATION_LOGIN_WEBUI_READY |
| 898 // 3. NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN |
| 899 // 4. NOTIFICATION_WIZARD_FIRST_SCREEN_SHOWN |
| 900 NOTIFICATION_LOGIN_WEBUI_VISIBLE, |
| 901 |
894 // Sent when proxy dialog is closed. | 902 // Sent when proxy dialog is closed. |
895 NOTIFICATION_LOGIN_PROXY_CHANGED, | 903 NOTIFICATION_LOGIN_PROXY_CHANGED, |
896 | 904 |
897 // Sent when a network error message is displayed on the WebUI login screen. | 905 // Sent when a network error message is displayed on the WebUI login screen. |
898 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, | 906 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, |
899 | 907 |
900 // Sent when the user list has changed due to a policy change. | 908 // Sent when the user list has changed due to a policy change. |
901 NOTIFICATION_POLICY_USER_LIST_CHANGED, | 909 NOTIFICATION_POLICY_USER_LIST_CHANGED, |
902 | 910 |
903 // Sent when a panel state changed. | 911 // Sent when a panel state changed. |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1110 // Currently only Content and Chrome define and use notifications. | 1118 // Currently only Content and Chrome define and use notifications. |
1111 // Custom notifications not belonging to Content and Chrome should start | 1119 // Custom notifications not belonging to Content and Chrome should start |
1112 // from here. | 1120 // from here. |
1113 NOTIFICATION_CHROME_END, | 1121 NOTIFICATION_CHROME_END, |
1114 }; | 1122 }; |
1115 | 1123 |
1116 } // namespace chrome | 1124 } // namespace chrome |
1117 | 1125 |
1118 | 1126 |
1119 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1127 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |