| 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 CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 5 #ifndef CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| 7 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 // This file describes various types used to describe and filter notifications | 9 // This file describes various types used to describe and filter notifications |
| 10 // that pass through the NotificationService. | 10 // that pass through the NotificationService. |
| (...skipping 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 405 // This message indicates that an instance of a particular child was | 405 // This message indicates that an instance of a particular child was |
| 406 // created in a page. (If one page contains several regions rendered by | 406 // created in a page. (If one page contains several regions rendered by |
| 407 // the same child, this notification will occur once for each region | 407 // the same child, this notification will occur once for each region |
| 408 // during the page load.) | 408 // during the page load.) |
| 409 // | 409 // |
| 410 // There is no usable source, since it is sent from an ephemeral task; | 410 // There is no usable source, since it is sent from an ephemeral task; |
| 411 // register for AllSources() to receive this notification. The details are | 411 // register for AllSources() to receive this notification. The details are |
| 412 // in a Details<ChildProcessInfo>. | 412 // in a Details<ChildProcessInfo>. |
| 413 NOTIFICATION_CHILD_INSTANCE_CREATED, | 413 NOTIFICATION_CHILD_INSTANCE_CREATED, |
| 414 | 414 |
| 415 // Sent by the PluginUpdater when there is a change of plugin | |
| 416 // enable/disable status. | |
| 417 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | |
| 418 | |
| 419 // Download Notifications -------------------------------------------------- | 415 // Download Notifications -------------------------------------------------- |
| 420 | 416 |
| 421 // Sent when a page generation to MHTML has finished. | 417 // Sent when a page generation to MHTML has finished. |
| 422 // The source is the corresponding RenderViewHost. The details is a | 418 // The source is the corresponding RenderViewHost. The details is a |
| 423 // MHTMLGenerationManager::NotificationDetails. | 419 // MHTMLGenerationManager::NotificationDetails. |
| 424 NOTIFICATION_MHTML_GENERATED, | 420 NOTIFICATION_MHTML_GENERATED, |
| 425 | 421 |
| 426 // Saved Pages ------------------------------------------------------------- | 422 // Saved Pages ------------------------------------------------------------- |
| 427 | 423 |
| 428 // Sent when a SavePackage finishes successfully. The source is the | 424 // Sent when a SavePackage finishes successfully. The source is the |
| (...skipping 16 matching lines...) Expand all Loading... |
| 445 // of a temporary zoom level change, the details is an empty string. | 441 // of a temporary zoom level change, the details is an empty string. |
| 446 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 442 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 447 | 443 |
| 448 // Custom notifications used by the embedder should start from here. | 444 // Custom notifications used by the embedder should start from here. |
| 449 NOTIFICATION_CONTENT_END, | 445 NOTIFICATION_CONTENT_END, |
| 450 }; | 446 }; |
| 451 | 447 |
| 452 } // namespace content | 448 } // namespace content |
| 453 | 449 |
| 454 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 450 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |