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 "extensions/browser/notification_types.h" | 9 #include "extensions/browser/notification_types.h" |
10 | 10 |
(...skipping 474 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 // Sent when user image is updated. | 485 // Sent when user image is updated. |
486 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED, | 486 NOTIFICATION_LOGIN_USER_IMAGE_CHANGED, |
487 | 487 |
488 // Sent by UserManager when a profile image download has been completed. | 488 // Sent by UserManager when a profile image download has been completed. |
489 NOTIFICATION_PROFILE_IMAGE_UPDATED, | 489 NOTIFICATION_PROFILE_IMAGE_UPDATED, |
490 | 490 |
491 // Sent by UserManager when profile image download has failed or user has the | 491 // Sent by UserManager when profile image download has failed or user has the |
492 // default profile image or no profile image at all. No details are expected. | 492 // default profile image or no profile image at all. No details are expected. |
493 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED, | 493 NOTIFICATION_PROFILE_IMAGE_UPDATE_FAILED, |
494 | 494 |
495 // Sent when a chromium os user attempts to log in. The source is | |
496 // all and the details are AuthenticationNotificationDetails. | |
497 NOTIFICATION_LOGIN_AUTHENTICATION, | |
498 | |
499 // Sent when a network error message is displayed on the WebUI login screen. | 495 // Sent when a network error message is displayed on the WebUI login screen. |
500 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE. | 496 // First paint event of this fires NOTIFICATION_LOGIN_OR_LOCK_WEBUI_VISIBLE. |
501 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, | 497 NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN, |
502 | 498 |
503 // Sent when the specific part of login/lock WebUI is considered to be | 499 // Sent when the specific part of login/lock WebUI is considered to be |
504 // visible. That moment is tracked as the first paint event after one of the: | 500 // visible. That moment is tracked as the first paint event after one of the: |
505 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN | 501 // NOTIFICATION_LOGIN_NETWORK_ERROR_SHOWN |
506 // | 502 // |
507 // Possible series of notifications: | 503 // Possible series of notifications: |
508 // 1. Boot into fresh OOBE | 504 // 1. Boot into fresh OOBE |
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
701 // Note:- | 697 // Note:- |
702 // Currently only Content and Chrome define and use notifications. | 698 // Currently only Content and Chrome define and use notifications. |
703 // Custom notifications not belonging to Content and Chrome should start | 699 // Custom notifications not belonging to Content and Chrome should start |
704 // from here. | 700 // from here. |
705 NOTIFICATION_CHROME_END, | 701 NOTIFICATION_CHROME_END, |
706 }; | 702 }; |
707 | 703 |
708 } // namespace chrome | 704 } // namespace chrome |
709 | 705 |
710 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 706 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
OLD | NEW |