| 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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 NOTIFICATION_WEB_APP_INSTALL_CHANGED, | 336 NOTIFICATION_WEB_APP_INSTALL_CHANGED, |
| 337 | 337 |
| 338 // This is sent to a pref observer when a pref is changed. The source is the | 338 // This is sent to a pref observer when a pref is changed. The source is the |
| 339 // PrefService and the details a std::string of the changed path. | 339 // PrefService and the details a std::string of the changed path. |
| 340 NOTIFICATION_PREF_CHANGED, | 340 NOTIFICATION_PREF_CHANGED, |
| 341 | 341 |
| 342 // This is broadcast after the preference subsystem has completed | 342 // This is broadcast after the preference subsystem has completed |
| 343 // asynchronous initalization of a PrefService. | 343 // asynchronous initalization of a PrefService. |
| 344 NOTIFICATION_PREF_INITIALIZATION_COMPLETED, | 344 NOTIFICATION_PREF_INITIALIZATION_COMPLETED, |
| 345 | 345 |
| 346 // Sent when a default request context has been created, so calling | |
| 347 // Profile::GetDefaultRequestContext() will not return NULL. This is sent | |
| 348 // on the thread where Profile::GetRequestContext() is first called, which | |
| 349 // should be the UI thread. | |
| 350 NOTIFICATION_DEFAULT_REQUEST_CONTEXT_AVAILABLE, | |
| 351 | |
| 352 // The state of a web resource has been changed. A resource may have been | 346 // The state of a web resource has been changed. A resource may have been |
| 353 // added, removed, or altered. Source is WebResourceService, and the | 347 // added, removed, or altered. Source is WebResourceService, and the |
| 354 // details are NoDetails. | 348 // details are NoDetails. |
| 355 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | 349 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, |
| 356 | 350 |
| 357 // Autocomplete ------------------------------------------------------------ | 351 // Autocomplete ------------------------------------------------------------ |
| 358 | 352 |
| 359 // Sent by the autocomplete controller when done. The source is the | 353 // Sent by the autocomplete controller when done. The source is the |
| 360 // AutocompleteController, the details not used. | 354 // AutocompleteController, the details not used. |
| 361 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, | 355 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, |
| (...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 936 // Currently only Content and Chrome define and use notifications. | 930 // Currently only Content and Chrome define and use notifications. |
| 937 // Custom notifications not belonging to Content and Chrome should start | 931 // Custom notifications not belonging to Content and Chrome should start |
| 938 // from here. | 932 // from here. |
| 939 NOTIFICATION_CHROME_END, | 933 NOTIFICATION_CHROME_END, |
| 940 }; | 934 }; |
| 941 | 935 |
| 942 } // namespace chrome | 936 } // namespace chrome |
| 943 | 937 |
| 944 | 938 |
| 945 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 939 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |