| 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 388 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 399 NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED, | 399 NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED, |
| 400 | 400 |
| 401 // Sent when a TemplateURL is removed from the model. The source is the | 401 // Sent when a TemplateURL is removed from the model. The source is the |
| 402 // Profile, and the details the id of the TemplateURL being removed. | 402 // Profile, and the details the id of the TemplateURL being removed. |
| 403 NOTIFICATION_TEMPLATE_URL_REMOVED, | 403 NOTIFICATION_TEMPLATE_URL_REMOVED, |
| 404 | 404 |
| 405 // Sent when the prefs relating to the default search engine have changed due | 405 // Sent when the prefs relating to the default search engine have changed due |
| 406 // to policy. Source and details are unused. | 406 // to policy. Source and details are unused. |
| 407 NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, | 407 NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, |
| 408 | 408 |
| 409 // This is sent to a pref observer when a pref is changed. The source is the | |
| 410 // PrefService and the details a std::string of the changed path. | |
| 411 NOTIFICATION_PREF_CHANGED, | |
| 412 | |
| 413 // This is broadcast after the preference subsystem has completed | |
| 414 // asynchronous initalization of a PrefService. | |
| 415 NOTIFICATION_PREF_INITIALIZATION_COMPLETED, | |
| 416 | |
| 417 // The state of a web resource has been changed. A resource may have been | 409 // The state of a web resource has been changed. A resource may have been |
| 418 // added, removed, or altered. Source is WebResourceService, and the | 410 // added, removed, or altered. Source is WebResourceService, and the |
| 419 // details are NoDetails. | 411 // details are NoDetails. |
| 420 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | 412 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, |
| 421 | 413 |
| 422 // A safe browsing database update completed. Source is the | 414 // A safe browsing database update completed. Source is the |
| 423 // SafeBrowsingService and the details are a bool indicating whether the | 415 // SafeBrowsingService and the details are a bool indicating whether the |
| 424 // update was successful. | 416 // update was successful. |
| 425 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, | 417 NOTIFICATION_SAFE_BROWSING_UPDATE_COMPLETE, |
| 426 | 418 |
| (...skipping 851 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 // Currently only Content and Chrome define and use notifications. | 1270 // Currently only Content and Chrome define and use notifications. |
| 1279 // Custom notifications not belonging to Content and Chrome should start | 1271 // Custom notifications not belonging to Content and Chrome should start |
| 1280 // from here. | 1272 // from here. |
| 1281 NOTIFICATION_CHROME_END, | 1273 NOTIFICATION_CHROME_END, |
| 1282 }; | 1274 }; |
| 1283 | 1275 |
| 1284 } // namespace chrome | 1276 } // namespace chrome |
| 1285 | 1277 |
| 1286 | 1278 |
| 1287 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1279 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |