| 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/public/browser/notification_types.h" | 9 #include "content/public/browser/notification_types.h" |
| 10 | 10 |
| (...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 | 305 |
| 306 // The state of a web resource has been changed. A resource may have been | 306 // The state of a web resource has been changed. A resource may have been |
| 307 // added, removed, or altered. Source is WebResourceService, and the | 307 // added, removed, or altered. Source is WebResourceService, and the |
| 308 // details are NoDetails. | 308 // details are NoDetails. |
| 309 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, | 309 NOTIFICATION_PROMO_RESOURCE_STATE_CHANGED, |
| 310 | 310 |
| 311 // The number of times that NTP4 bubble is shown has been changed. The NTP | 311 // The number of times that NTP4 bubble is shown has been changed. The NTP |
| 312 // resource cache has to be refreshed to remove the NTP4 bubble. | 312 // resource cache has to be refreshed to remove the NTP4 bubble. |
| 313 NTP4_INTRO_PREF_CHANGED, | 313 NTP4_INTRO_PREF_CHANGED, |
| 314 | 314 |
| 315 // Notification that the NTP4 sync bubble pref has changed. |
| 316 NTP4_SYNC_PROMO_SHOW_NTP_BUBBLE_CHANGED, |
| 317 |
| 315 // Autocomplete ------------------------------------------------------------ | 318 // Autocomplete ------------------------------------------------------------ |
| 316 | 319 |
| 317 // Sent by the autocomplete controller when done. The source is the | 320 // Sent by the autocomplete controller when done. The source is the |
| 318 // AutocompleteController, the details not used. | 321 // AutocompleteController, the details not used. |
| 319 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, | 322 NOTIFICATION_AUTOCOMPLETE_CONTROLLER_RESULT_READY, |
| 320 | 323 |
| 321 // This is sent when an item of the Omnibox popup is selected. The source | 324 // This is sent when an item of the Omnibox popup is selected. The source |
| 322 // is the profile. | 325 // is the profile. |
| 323 NOTIFICATION_OMNIBOX_OPENED_URL, | 326 NOTIFICATION_OMNIBOX_OPENED_URL, |
| 324 | 327 |
| (...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 // Currently only Content and Chrome define and use notifications. | 989 // Currently only Content and Chrome define and use notifications. |
| 987 // Custom notifications not belonging to Content and Chrome should start | 990 // Custom notifications not belonging to Content and Chrome should start |
| 988 // from here. | 991 // from here. |
| 989 NOTIFICATION_CHROME_END, | 992 NOTIFICATION_CHROME_END, |
| 990 }; | 993 }; |
| 991 | 994 |
| 992 } // namespace chrome | 995 } // namespace chrome |
| 993 | 996 |
| 994 | 997 |
| 995 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 998 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |