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