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 762 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
773 NOTIFICATION_DOWNLOAD_INITIATED, | 773 NOTIFICATION_DOWNLOAD_INITIATED, |
774 | 774 |
775 // Misc -------------------------------------------------------------------- | 775 // Misc -------------------------------------------------------------------- |
776 | 776 |
777 #if defined(OS_CHROMEOS) | 777 #if defined(OS_CHROMEOS) |
778 // Sent when a chromium os user logs in. | 778 // Sent when a chromium os user logs in. |
779 NOTIFICATION_LOGIN_USER_CHANGED, | 779 NOTIFICATION_LOGIN_USER_CHANGED, |
780 | 780 |
781 // Sent when the chromium session is first started. If this is a new user this | 781 // Sent when the chromium session is first started. If this is a new user this |
782 // will not be sent until a profile picture has been selected, unlike | 782 // will not be sent until a profile picture has been selected, unlike |
783 // NOTIFICATION_LOGIN_USER_CHANGED which is sent after the user has logged in. | 783 // NOTIFICATION_LOGIN_USER_CHANGED which is sent immediately after the user |
| 784 // has logged in. This will be sent again if the browser crashes and restarts. |
784 NOTIFICATION_SESSION_STARTED, | 785 NOTIFICATION_SESSION_STARTED, |
785 | 786 |
786 // Sent when user image is updated. | 787 // Sent when user image is updated. |
787 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED, | 788 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED, |
788 | 789 |
789 // Sent by UserManager when a profile image download has been completed. | 790 // Sent by UserManager when a profile image download has been completed. |
790 NOTIFICATION_PROFILE_IMAGE_UPDATED, | 791 NOTIFICATION_PROFILE_IMAGE_UPDATED, |
791 | 792 |
792 // Sent by UserManager when profile image download has failed or user has the | 793 // Sent by UserManager when profile image download has failed or user has the |
793 // default profile image or no profile image at all. No details are expected. | 794 // default profile image or no profile image at all. No details are expected. |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 // Currently only Content and Chrome define and use notifications. | 1005 // Currently only Content and Chrome define and use notifications. |
1005 // Custom notifications not belonging to Content and Chrome should start | 1006 // Custom notifications not belonging to Content and Chrome should start |
1006 // from here. | 1007 // from here. |
1007 NOTIFICATION_CHROME_END, | 1008 NOTIFICATION_CHROME_END, |
1008 }; | 1009 }; |
1009 | 1010 |
1010 } // namespace chrome | 1011 } // namespace chrome |
1011 | 1012 |
1012 | 1013 |
1013 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1014 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |