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 682 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
693 // Sent when user image is updated. | 693 // Sent when user image is updated. |
694 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED, | 694 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED, |
695 | 695 |
696 // Sent by UserManager when a profile image download has been completed. | 696 // Sent by UserManager when a profile image download has been completed. |
697 NOTIFICATION_PROFILE_IMAGE_UPDATED, | 697 NOTIFICATION_PROFILE_IMAGE_UPDATED, |
698 | 698 |
699 // Sent by UserManager when profile image download has failed or user has the | 699 // Sent by UserManager when profile image download has failed or user has the |
700 // default profile image or no profile image at all. No details are expected. | 700 // default profile image or no profile image at all. No details are expected. |
701 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED, | 701 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED, |
702 | 702 |
703 // Sent when a chromium os user attempts to log in. The source is | |
704 // all and the details are AuthenticationNotificationDetails. | |
705 NOTIFICATION_LOGIN_AUTHENTICATION, | |
706 | |
707 // Sent when a network error message is displayed on the WebUI login screen. | 703 // Sent when a network error message is displayed on the WebUI login screen. |
708 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE. | 704 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE. |
709 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, | 705 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, |
710 | 706 |
711 // Sent when the specific part of login/lock WebUI is considered to be | 707 // Sent when the specific part of login/lock WebUI is considered to be |
712 // visible. That moment is tracked as the first paint event after one of the: | 708 // visible. That moment is tracked as the first paint event after one of the: |
713 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN | 709 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN |
714 // | 710 // |
715 // Possible series of notifications: | 711 // Possible series of notifications: |
716 // 1. Boot into fresh OOBE | 712 // 1. Boot into fresh OOBE |
(...skipping 203 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
920 // Note:- | 916 // Note:- |
921 // Currently only Content and Chrome define and use notifications. | 917 // Currently only Content and Chrome define and use notifications. |
922 // Custom notifications not belonging to Content and Chrome should start | 918 // Custom notifications not belonging to Content and Chrome should start |
923 // from here. | 919 // from here. |
924 NOTIFICATION_CHROME_END, | 920 NOTIFICATION_CHROME_END, |
925 }; | 921 }; |
926 | 922 |
927 } // namespace chrome | 923 } // namespace chrome |
928 | 924 |
929 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 925 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |