| 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 // This message indicates that an instance of a particular child was | 418 // This message indicates that an instance of a particular child was |
| 419 // created in a page. (If one page contains several regions rendered by | 419 // created in a page. (If one page contains several regions rendered by |
| 420 // the same child, this notification will occur once for each region | 420 // the same child, this notification will occur once for each region |
| 421 // during the page load.) | 421 // during the page load.) |
| 422 // | 422 // |
| 423 // There is no usable source, since it is sent from an ephemeral task; | 423 // There is no usable source, since it is sent from an ephemeral task; |
| 424 // register for AllSources() to receive this notification. The details are | 424 // register for AllSources() to receive this notification. The details are |
| 425 // in a Details<ChildProcessInfo>. | 425 // in a Details<ChildProcessInfo>. |
| 426 NOTIFICATION_CHILD_INSTANCE_CREATED, | 426 NOTIFICATION_CHILD_INSTANCE_CREATED, |
| 427 | 427 |
| 428 // Sent by the PluginUpdater when there is a change of plugin | |
| 429 // enable/disable status. | |
| 430 NOTIFICATION_PLUGIN_ENABLE_STATUS_CHANGED, | |
| 431 | |
| 432 // Download Notifications -------------------------------------------------- | 428 // Download Notifications -------------------------------------------------- |
| 433 | 429 |
| 434 // Sent when a page generation to MHTML has finished. | 430 // Sent when a page generation to MHTML has finished. |
| 435 // The source is the corresponding RenderViewHost. The details is a | 431 // The source is the corresponding RenderViewHost. The details is a |
| 436 // MHTMLGenerationManager::NotificationDetails. | 432 // MHTMLGenerationManager::NotificationDetails. |
| 437 NOTIFICATION_MHTML_GENERATED, | 433 NOTIFICATION_MHTML_GENERATED, |
| 438 | 434 |
| 439 // Saved Pages ------------------------------------------------------------- | 435 // Saved Pages ------------------------------------------------------------- |
| 440 | 436 |
| 441 // Sent when a SavePackage finishes successfully. The source is the | 437 // Sent when a SavePackage finishes successfully. The source is the |
| (...skipping 16 matching lines...) Expand all Loading... |
| 458 // of a temporary zoom level change, the details is an empty string. | 454 // of a temporary zoom level change, the details is an empty string. |
| 459 NOTIFICATION_ZOOM_LEVEL_CHANGED, | 455 NOTIFICATION_ZOOM_LEVEL_CHANGED, |
| 460 | 456 |
| 461 // Custom notifications used by the embedder should start from here. | 457 // Custom notifications used by the embedder should start from here. |
| 462 NOTIFICATION_CONTENT_END, | 458 NOTIFICATION_CONTENT_END, |
| 463 }; | 459 }; |
| 464 | 460 |
| 465 } // namespace content | 461 } // namespace content |
| 466 | 462 |
| 467 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ | 463 #endif // CONTENT_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |