| 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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 309 | 309 |
| 310 // Sent when the bookmark bubble is shown for a particular URL. The source | 310 // Sent when the bookmark bubble is shown for a particular URL. The source |
| 311 // is the profile, the details the URL. | 311 // is the profile, the details the URL. |
| 312 NOTIFICATION_BOOKMARK_BUBBLE_SHOWN, | 312 NOTIFICATION_BOOKMARK_BUBBLE_SHOWN, |
| 313 | 313 |
| 314 // Task Manager ------------------------------------------------------------ | 314 // Task Manager ------------------------------------------------------------ |
| 315 | 315 |
| 316 // Sent when WebUI TaskManager opens and is ready for showing tasks. | 316 // Sent when WebUI TaskManager opens and is ready for showing tasks. |
| 317 NOTIFICATION_TASK_MANAGER_WINDOW_READY, | 317 NOTIFICATION_TASK_MANAGER_WINDOW_READY, |
| 318 | 318 |
| 319 // The TaskManagerChildProcessResourceProvider collects the list of child |
| 320 // processes when StartUpdating is called. This data is collected on the IO |
| 321 // thread and passed back to the UI thread. Once all entries are added to the |
| 322 // task manager, this notification is sent. |
| 323 NOTIFICATION_TASK_MANAGER_CHILD_PROCESSES_DATA_READY, |
| 324 |
| 319 // Sent when a renderer process is notified of new v8 heap statistics. The | 325 // Sent when a renderer process is notified of new v8 heap statistics. The |
| 320 // source is the ID of the renderer process, and the details are a | 326 // source is the ID of the renderer process, and the details are a |
| 321 // V8HeapStatsDetails object. | 327 // V8HeapStatsDetails object. |
| 322 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, | 328 NOTIFICATION_RENDERER_V8_HEAP_STATS_COMPUTED, |
| 323 | 329 |
| 324 // Sent when a renderer process is notified of a new FPS value. The source | 330 // Sent when a renderer process is notified of a new FPS value. The source |
| 325 // is the ID of the renderer process, and the details are an FPSDetails | 331 // is the ID of the renderer process, and the details are an FPSDetails |
| 326 // object. | 332 // object. |
| 327 NOTIFICATION_RENDERER_FPS_COMPUTED, | 333 NOTIFICATION_RENDERER_FPS_COMPUTED, |
| 328 | 334 |
| (...skipping 751 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1080 // Currently only Content and Chrome define and use notifications. | 1086 // Currently only Content and Chrome define and use notifications. |
| 1081 // Custom notifications not belonging to Content and Chrome should start | 1087 // Custom notifications not belonging to Content and Chrome should start |
| 1082 // from here. | 1088 // from here. |
| 1083 NOTIFICATION_CHROME_END, | 1089 NOTIFICATION_CHROME_END, |
| 1084 }; | 1090 }; |
| 1085 | 1091 |
| 1086 } // namespace chrome | 1092 } // namespace chrome |
| 1087 | 1093 |
| 1088 | 1094 |
| 1089 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1095 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |