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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 820 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
831 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE | 831 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE |
832 // 3. Boot into GAIA sign in UI (user pods display disabled or no users): | 832 // 3. Boot into GAIA sign in UI (user pods display disabled or no users): |
833 // if no network is connected or flaky network | 833 // if no network is connected or flaky network |
834 // (NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN + | 834 // (NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN + |
835 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE) | 835 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE) |
836 // NOTIFICATION_LOGIN_WEBUI_LOADED | 836 // NOTIFICATION_LOGIN_WEBUI_LOADED |
837 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE | 837 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE |
838 // 4. Boot into retail mode | 838 // 4. Boot into retail mode |
839 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE | 839 // NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE |
840 // 5. Boot into kiosk mode | 840 // 5. Boot into kiosk mode |
841 // NOTIFICATION_KIOSK_APP_LAUNCHED | 841 // 5.1 No network connectivity |
842 // NOTIFICATION_KIOSK_APP_LAUNCH_NO_NETWORK | |
843 // 5.2 Launch successful | |
844 // NOTIFICATION_KIOSK_APP_LAUNCHED | |
842 NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE, | 845 NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE, |
843 | 846 |
847 // Sent when current screen is changed. | |
848 // Details are a OobeDisplay::ScreenTransition. | |
849 NOTIFICATION_CURRENT_SCREEN_CHANGED, | |
xiyuan
2013/09/05 02:36:10
Let's not adding new notifications. Instead, try a
Tim Song
2013/09/05 21:57:43
Done.
| |
850 | |
844 // Sent when proxy dialog is closed. | 851 // Sent when proxy dialog is closed. |
845 NOTIFICATION_LOGIN_PROXY_CHANGED, | 852 NOTIFICATION_LOGIN_PROXY_CHANGED, |
846 | 853 |
847 // Send when kiosk auto-launch warning screen is visible. | 854 // Send when kiosk auto-launch warning screen is visible. |
848 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, | 855 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_VISIBLE, |
849 | 856 |
850 // Send when kiosk auto-launch warning screen had completed. | 857 // Send when kiosk auto-launch warning screen had completed. |
851 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_COMPLETED, | 858 NOTIFICATION_KIOSK_AUTOLAUNCH_WARNING_COMPLETED, |
852 | 859 |
853 // Send when enable consumer kiosk warning screen is visible. | 860 // Send when enable consumer kiosk warning screen is visible. |
854 NOTIFICATION_KIOSK_ENABLE_WARNING_VISIBLE, | 861 NOTIFICATION_KIOSK_ENABLE_WARNING_VISIBLE, |
855 | 862 |
856 // Send when consumer kiosk has been enabled. | 863 // Send when consumer kiosk has been enabled. |
857 NOTIFICATION_KIOSK_ENABLED, | 864 NOTIFICATION_KIOSK_ENABLED, |
858 | 865 |
859 // Send when enable consumer kiosk warning screen had completed. | 866 // Send when enable consumer kiosk warning screen had completed. |
860 NOTIFICATION_KIOSK_ENABLE_WARNING_COMPLETED, | 867 NOTIFICATION_KIOSK_ENABLE_WARNING_COMPLETED, |
861 | 868 |
862 // Sent when kiosk app list is loaded in UI. | 869 // Sent when kiosk app list is loaded in UI. |
863 NOTIFICATION_KIOSK_APPS_LOADED, | 870 NOTIFICATION_KIOSK_APPS_LOADED, |
864 | 871 |
872 // Sent when there is no network connectivity during kiosk app launch. | |
873 NOTIFICATION_KIOSK_APP_LAUNCH_NO_NETWORK, | |
Tim Song
2013/09/05 21:57:43
I also removed this notification and replaced it w
| |
874 | |
865 // Sent when a kiosk app is launched. | 875 // Sent when a kiosk app is launched. |
866 NOTIFICATION_KIOSK_APP_LAUNCHED, | 876 NOTIFICATION_KIOSK_APP_LAUNCHED, |
867 | 877 |
868 // Sent when the user list has changed. | 878 // Sent when the user list has changed. |
869 NOTIFICATION_USER_LIST_CHANGED, | 879 NOTIFICATION_USER_LIST_CHANGED, |
870 | 880 |
871 // Sent when the screen lock state has changed. The source is | 881 // Sent when the screen lock state has changed. The source is |
872 // ScreenLocker and the details is a bool specifing that the | 882 // ScreenLocker and the details is a bool specifing that the |
873 // screen is locked. When details is a false, the source object | 883 // screen is locked. When details is a false, the source object |
874 // is being deleted, so the receiver shouldn't use the screen locker | 884 // is being deleted, so the receiver shouldn't use the screen locker |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1071 // Note:- | 1081 // Note:- |
1072 // Currently only Content and Chrome define and use notifications. | 1082 // Currently only Content and Chrome define and use notifications. |
1073 // Custom notifications not belonging to Content and Chrome should start | 1083 // Custom notifications not belonging to Content and Chrome should start |
1074 // from here. | 1084 // from here. |
1075 NOTIFICATION_CHROME_END, | 1085 NOTIFICATION_CHROME_END, |
1076 }; | 1086 }; |
1077 | 1087 |
1078 } // namespace chrome | 1088 } // namespace chrome |
1079 | 1089 |
1080 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1090 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |