| 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 CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 5 #ifndef CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 6 #define CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| 7 | 7 |
| 8 // This file describes various types used to describe and filter notifications | 8 // This file describes various types used to describe and filter notifications |
| 9 // that pass through the NotificationService. | 9 // that pass through the NotificationService. |
| 10 // | 10 // |
| (...skipping 325 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 // This message indicates that an instance of a particular child was | 336 // This message indicates that an instance of a particular child was |
| 337 // created in a page. (If one page contains several regions rendered by | 337 // created in a page. (If one page contains several regions rendered by |
| 338 // the same child, this notification will occur once for each region | 338 // the same child, this notification will occur once for each region |
| 339 // during the page load.) | 339 // during the page load.) |
| 340 // | 340 // |
| 341 // There is no usable source, since it is sent from an ephemeral task; | 341 // There is no usable source, since it is sent from an ephemeral task; |
| 342 // register for AllSources() to receive this notification. The details are | 342 // register for AllSources() to receive this notification. The details are |
| 343 // in a Details<ChildProcessData>. | 343 // in a Details<ChildProcessData>. |
| 344 NOTIFICATION_CHILD_INSTANCE_CREATED, | 344 NOTIFICATION_CHILD_INSTANCE_CREATED, |
| 345 | 345 |
| 346 // Saved Pages ------------------------------------------------------------- | 346 // Miscellaneous ------------------------------------------------------------- |
| 347 | |
| 348 // Sent when a SavePackage finishes successfully. The source is the | |
| 349 // SavePackage, and Details are a GURL containing address of downloaded | |
| 350 // page. | |
| 351 NOTIFICATION_SAVE_PACKAGE_SUCCESSFULLY_FINISHED, | |
| 352 | 347 |
| 353 // Sent before the repost form warning is brought up. | 348 // Sent before the repost form warning is brought up. |
| 354 // The source is a NavigationController. | 349 // The source is a NavigationController. |
| 355 NOTIFICATION_REPOST_WARNING_SHOWN, | 350 NOTIFICATION_REPOST_WARNING_SHOWN, |
| 356 | 351 |
| 357 // Sent when the zoom level changes. The source is the HostZoomMap. The | 352 // Sent when the zoom level changes. The source is the HostZoomMap. The |
| 358 // details is a string of the hostname for which the zoom changed. In case | 353 // details is a string of the hostname for which the zoom changed. In case |
| 359 // of a temporary zoom level change, the details is an empty string. | 354 // of a temporary zoom level change, the details is an empty string. |
| 360 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 355 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 361 | 356 |
| 362 // Custom notifications used by the embedder should start from here. | 357 // Custom notifications used by the embedder should start from here. |
| 363 NOTIFICATION_CONTENT_END, | 358 NOTIFICATION_CONTENT_END, |
| 364 }; | 359 }; |
| 365 | 360 |
| 366 } // namespace content | 361 } // namespace content |
| 367 | 362 |
| 368 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ | 363 #endif // CONTENT_PUBLIC_BROWSER_NOTIFICATION_TYPES_H_ |
| OLD | NEW |