| 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_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 | 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 337 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 // the details a CancelableRequestProvider::Handle from the history service | 348 // the details a CancelableRequestProvider::Handle from the history service |
| 349 // query. | 349 // query. |
| 350 // Used only in testing. | 350 // Used only in testing. |
| 351 NOTIFICATION_TOP_SITES_UPDATED, | 351 NOTIFICATION_TOP_SITES_UPDATED, |
| 352 | 352 |
| 353 // Sent by TopSites when the either one of the most visited urls changed, or | 353 // Sent by TopSites when the either one of the most visited urls changed, or |
| 354 // one of the images changes. The source is the TopSites, the details not | 354 // one of the images changes. The source is the TopSites, the details not |
| 355 // used. | 355 // used. |
| 356 NOTIFICATION_TOP_SITES_CHANGED, | 356 NOTIFICATION_TOP_SITES_CHANGED, |
| 357 | 357 |
| 358 // Bookmarks --------------------------------------------------------------- | |
| 359 | |
| 360 // Sent when the bookmark bar model finishes loading. This source is the | |
| 361 // Profile, and the details aren't used. | |
| 362 NOTIFICATION_BOOKMARK_MODEL_LOADED, | |
| 363 | |
| 364 // Task Manager ------------------------------------------------------------ | 358 // Task Manager ------------------------------------------------------------ |
| 365 | 359 |
| 366 // Sent when WebUI TaskManager opens and is ready for showing tasks. | 360 // Sent when WebUI TaskManager opens and is ready for showing tasks. |
| 367 NOTIFICATION_TASK_MANAGER_WINDOW_READY, | 361 NOTIFICATION_TASK_MANAGER_WINDOW_READY, |
| 368 | 362 |
| 369 // The TaskManagerChildProcessResourceProvider collects the list of child | 363 // The TaskManagerChildProcessResourceProvider collects the list of child |
| 370 // processes when StartUpdating is called. This data is collected on the IO | 364 // processes when StartUpdating is called. This data is collected on the IO |
| 371 // thread and passed back to the UI thread. Once all entries are added to the | 365 // thread and passed back to the UI thread. Once all entries are added to the |
| 372 // task manager, this notification is sent. | 366 // task manager, this notification is sent. |
| 373 NOTIFICATION_TASK_MANAGER_CHILD_PROCESSES_DATA_READY, | 367 NOTIFICATION_TASK_MANAGER_CHILD_PROCESSES_DATA_READY, |
| (...skipping 886 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1260 // Currently only Content and Chrome define and use notifications. | 1254 // Currently only Content and Chrome define and use notifications. |
| 1261 // Custom notifications not belonging to Content and Chrome should start | 1255 // Custom notifications not belonging to Content and Chrome should start |
| 1262 // from here. | 1256 // from here. |
| 1263 NOTIFICATION_CHROME_END, | 1257 NOTIFICATION_CHROME_END, |
| 1264 }; | 1258 }; |
| 1265 | 1259 |
| 1266 } // namespace chrome | 1260 } // namespace chrome |
| 1267 | 1261 |
| 1268 | 1262 |
| 1269 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ | 1263 #endif // CHROME_COMMON_CHROME_NOTIFICATION_TYPES_H_ |
| OLD | NEW |