| OLD | NEW |
| 1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 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_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 5 #ifndef CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| 6 #define CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 6 #define CHROME_BROWSER_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 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // V8HeapStatsDetails object. | 336 // V8HeapStatsDetails object. |
| 337 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, | 337 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, |
| 338 | 338 |
| 339 // Sent when a renderer process is notified of a new FPS value. The source | 339 // Sent when a renderer process is notified of a new FPS value. The source |
| 340 // is the ID of the renderer process, and the details are an FPSDetails | 340 // is the ID of the renderer process, and the details are an FPSDetails |
| 341 // object. | 341 // object. |
| 342 NOTIFICATION_RENDERER_FPS_COMPUTED, | 342 NOTIFICATION_RENDERER_FPS_COMPUTED, |
| 343 | 343 |
| 344 // Non-history storage services -------------------------------------------- | 344 // Non-history storage services -------------------------------------------- |
| 345 | 345 |
| 346 // Notification that the TemplateURLService has finished loading from the | |
| 347 // database. The source is the TemplateURLService, and the details are | |
| 348 // NoDetails. | |
| 349 NOTIFICATION_TEMPLATE_URL_SERVICE_LOADED, | |
| 350 | |
| 351 // Sent when a TemplateURL is removed from the model. The source is the | 346 // Sent when a TemplateURL is removed from the model. The source is the |
| 352 // Profile, and the details the id of the TemplateURL being removed. | 347 // Profile, and the details the id of the TemplateURL being removed. |
| 353 NOTIFICATION_TEMPLATE_URL_REMOVED, | 348 NOTIFICATION_TEMPLATE_URL_REMOVED, |
| 354 | 349 |
| 355 // Sent when the prefs relating to the default search engine have changed due | 350 // Sent when the prefs relating to the default search engine have changed due |
| 356 // to policy. Source and details are unused. | 351 // to policy. Source and details are unused. |
| 357 NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, | 352 NOTIFICATION_DEFAULT_SEARCH_POLICY_CHANGED, |
| 358 | 353 |
| 359 // The state of a web resource has been changed. A resource may have been | 354 // The state of a web resource has been changed. A resource may have been |
| 360 // added, removed, or altered. Source is WebResourceService, and the | 355 // added, removed, or altered. Source is WebResourceService, and the |
| (...skipping 693 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1054 // Note:- | 1049 // Note:- |
| 1055 // Currently only Content and Chrome define and use notifications. | 1050 // Currently only Content and Chrome define and use notifications. |
| 1056 // Custom notifications not belonging to Content and Chrome should start | 1051 // Custom notifications not belonging to Content and Chrome should start |
| 1057 // from here. | 1052 // from here. |
| 1058 NOTIFICATION_CHROME_END, | 1053 NOTIFICATION_CHROME_END, |
| 1059 }; | 1054 }; |
| 1060 | 1055 |
| 1061 } // namespace chrome | 1056 } // namespace chrome |
| 1062 | 1057 |
| 1063 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ | 1058 #endif // CHROME_BROWSER_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |