| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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/common/content_notification_types.h" | 9 #include "content/common/content_notification_types.h" |
| 10 | 10 |
| (...skipping 758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 769 // are not used. | 769 // are not used. |
| 770 NOTIFICATION_WIZARD_CONTENT_VIEW_DESTROYED, | 770 NOTIFICATION_WIZARD_CONTENT_VIEW_DESTROYED, |
| 771 | 771 |
| 772 // Sent when the screen lock state has changed. The source is | 772 // Sent when the screen lock state has changed. The source is |
| 773 // ScreenLocker and the details is a bool specifing that the | 773 // ScreenLocker and the details is a bool specifing that the |
| 774 // screen is locked. When details is a false, the source object | 774 // screen is locked. When details is a false, the source object |
| 775 // is being deleted, so the receiver shouldn't use the screen locker | 775 // is being deleted, so the receiver shouldn't use the screen locker |
| 776 // object. | 776 // object. |
| 777 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, | 777 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, |
| 778 | 778 |
| 779 // Sent when the network state has changed on UI thread. | |
| 780 // The source is AllSources and the details is NetworkStateDetails defined | |
| 781 // in chrome/browser/chromeos/network_state_notifier.h. | |
| 782 // TODO(oshima): Port this to all platforms. | |
| 783 NOTIFICATION_NETWORK_STATE_CHANGED, | |
| 784 | |
| 785 // Sent when an attempt to acquire the public key of the owner of a chromium | 779 // Sent when an attempt to acquire the public key of the owner of a chromium |
| 786 // os device has succeeded. | 780 // os device has succeeded. |
| 787 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, | 781 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, |
| 788 | 782 |
| 789 // Sent when an attempt to acquire the public key of the owner of a chromium | 783 // Sent when an attempt to acquire the public key of the owner of a chromium |
| 790 // os device has failed. | 784 // os device has failed. |
| 791 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, | 785 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, |
| 792 | 786 |
| 793 // Sent after UserManager checked ownership status of logged in user. | 787 // Sent after UserManager checked ownership status of logged in user. |
| 794 NOTIFICATION_OWNERSHIP_CHECKED, | 788 NOTIFICATION_OWNERSHIP_CHECKED, |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 910 // Currently only Content and Chrome define and use notifications. | 904 // Currently only Content and Chrome define and use notifications. |
| 911 // Custom notifications not belonging to Content and Chrome should start | 905 // Custom notifications not belonging to Content and Chrome should start |
| 912 // from here. | 906 // from here. |
| 913 NOTIFICATION_CHROME_END, | 907 NOTIFICATION_CHROME_END, |
| 914 }; | 908 }; |
| 915 | 909 |
| 916 } // namespace chrome | 910 } // namespace chrome |
| 917 | 911 |
| 918 | 912 |
| 919 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 913 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |