| 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include "content/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 | 376 |
| 377 // This is broadcast after the preference subsystem has completed | 377 // This is broadcast after the preference subsystem has completed |
| 378 // asynchronous initalization of a PrefService. | 378 // asynchronous initalization of a PrefService. |
| 379 NOTIFICATION_PREF_INITIALIZATION_COMPLETED, | 379 NOTIFICATION_PREF_INITIALIZATION_COMPLETED, |
| 380 | 380 |
| 381 // The state of a web resource has been changed. A resource may have been | 381 // The state of a web resource has been changed. A resource may have been |
| 382 // added, removed, or altered. Source is WebResourceService, and the | 382 // added, removed, or altered. Source is WebResourceService, and the |
| 383 // details are NoDetails. | 383 // details are NoDetails. |
| 384 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | 384 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, |
| 385 | 385 |
| 386 // The number of times that NTP4 bubble is shown has been changed. The NTP | |
| 387 // resource cache has to be refreshed to remove the NTP4 bubble. | |
| 388 NTP4_INTRO_PREF_CHANGED, | |
| 389 | |
| 390 // Autocomplete ------------------------------------------------------------ | 386 // Autocomplete ------------------------------------------------------------ |
| 391 | 387 |
| 392 // Sent by the autocomplete controller when done. The source is the | 388 // Sent by the autocomplete controller when done. The source is the |
| 393 // AutocompleteController, the details not used. | 389 // AutocompleteController, the details not used. |
| 394 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, | 390 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, |
| 395 | 391 |
| 396 // This is sent when an item of the Omnibox popup is selected. The source | 392 // This is sent when an item of the Omnibox popup is selected. The source |
| 397 // is the profile. | 393 // is the profile. |
| 398 NOTIFICATION_OMNIBOX_OPENED_URL, | 394 NOTIFICATION_OMNIBOX_OPENED_URL, |
| 399 | 395 |
| (...skipping 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1169 // Currently only Content and Chrome define and use notifications. | 1165 // Currently only Content and Chrome define and use notifications. |
| 1170 // Custom notifications not belonging to Content and Chrome should start | 1166 // Custom notifications not belonging to Content and Chrome should start |
| 1171 // from here. | 1167 // from here. |
| 1172 NOTIFICATION_CHROME_END, | 1168 NOTIFICATION_CHROME_END, |
| 1173 }; | 1169 }; |
| 1174 | 1170 |
| 1175 } // namespace chrome | 1171 } // namespace chrome |
| 1176 | 1172 |
| 1177 | 1173 |
| 1178 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1174 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |