| 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 | 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 1049 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1060 // Sent when the window manager's layout mode has changed. | 1060 // Sent when the window manager's layout mode has changed. |
| 1061 NOTIFICATION_LAYOUT_MODE_CHANGED, | 1061 NOTIFICATION_LAYOUT_MODE_CHANGED, |
| 1062 | 1062 |
| 1063 // Sent when the screen lock state has changed. The source is | 1063 // Sent when the screen lock state has changed. The source is |
| 1064 // ScreenLocker and the details is a bool specifing that the | 1064 // ScreenLocker and the details is a bool specifing that the |
| 1065 // screen is locked. When details is a false, the source object | 1065 // screen is locked. When details is a false, the source object |
| 1066 // is being deleted, so the receiver shouldn't use the screen locker | 1066 // is being deleted, so the receiver shouldn't use the screen locker |
| 1067 // object. | 1067 // object. |
| 1068 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, | 1068 NOTIFICATION_SCREEN_LOCK_STATE_CHANGED, |
| 1069 | 1069 |
| 1070 // Sent when an attempt to acquire the public key of the owner of a chromium | |
| 1071 // os device has succeeded. | |
| 1072 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_SUCCEEDED, | |
| 1073 | |
| 1074 // Sent when an attempt to acquire the public key of the owner of a chromium | |
| 1075 // os device has failed. | |
| 1076 NOTIFICATION_OWNER_KEY_FETCH_ATTEMPT_FAILED, | |
| 1077 | |
| 1078 // Sent after UserManager checked ownership status of logged in user. | |
| 1079 NOTIFICATION_OWNERSHIP_CHECKED, | |
| 1080 | |
| 1081 // Sent by DeviceSettingsService to indicate that the ownership status | 1070 // Sent by DeviceSettingsService to indicate that the ownership status |
| 1082 // changed. If you can, please use DeviceSettingsService::Observer instead. | 1071 // changed. If you can, please use DeviceSettingsService::Observer instead. |
| 1083 // Other singleton-based services can't use that because Observer | 1072 // Other singleton-based services can't use that because Observer |
| 1084 // unregistration is impossible due to unpredictable deletion order. | 1073 // unregistration is impossible due to unpredictable deletion order. |
| 1085 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, | 1074 NOTIFICATION_OWNERSHIP_STATUS_CHANGED, |
| 1086 | 1075 |
| 1087 // This is sent to a ChromeOS settings observer when a system setting is | 1076 // This is sent to a ChromeOS settings observer when a system setting is |
| 1088 // changed. The source is the CrosSettings and the details a std::string of | 1077 // changed. The source is the CrosSettings and the details a std::string of |
| 1089 // the changed setting. | 1078 // the changed setting. |
| 1090 NOTIFICATION_SYSTEM_SETTING_CHANGED, | 1079 NOTIFICATION_SYSTEM_SETTING_CHANGED, |
| (...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1266 // Currently only Content and Chrome define and use notifications. | 1255 // Currently only Content and Chrome define and use notifications. |
| 1267 // Custom notifications not belonging to Content and Chrome should start | 1256 // Custom notifications not belonging to Content and Chrome should start |
| 1268 // from here. | 1257 // from here. |
| 1269 NOTIFICATION_CHROME_END, | 1258 NOTIFICATION_CHROME_END, |
| 1270 }; | 1259 }; |
| 1271 | 1260 |
| 1272 } // namespace chrome | 1261 } // namespace chrome |
| 1273 | 1262 |
| 1274 | 1263 |
| 1275 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1264 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |