| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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_NOTIFICATION_TYPE_H_ | 5 #ifndef CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| 6 #define CHROME_COMMON_NOTIFICATION_TYPE_H_ | 6 #define CHROME_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 551 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 // register for AllSources() to receive this notification. The details are | 562 // register for AllSources() to receive this notification. The details are |
| 563 // in a Details<ChildProcessInfo>. | 563 // in a Details<ChildProcessInfo>. |
| 564 CHILD_INSTANCE_CREATED, | 564 CHILD_INSTANCE_CREATED, |
| 565 | 565 |
| 566 // This is sent when network interception is disabled for a plugin, or the | 566 // This is sent when network interception is disabled for a plugin, or the |
| 567 // plugin is unloaded. This should only be sent/received on the browser IO | 567 // plugin is unloaded. This should only be sent/received on the browser IO |
| 568 // thread or the plugin thread. The source is the plugin that is disabling | 568 // thread or the plugin thread. The source is the plugin that is disabling |
| 569 // interception. No details are expected. | 569 // interception. No details are expected. |
| 570 CHROME_PLUGIN_UNLOADED, | 570 CHROME_PLUGIN_UNLOADED, |
| 571 | 571 |
| 572 // This is sent in the RenderView when previously blocked plugins on a page | |
| 573 // should be loaded. The source is the RenderView. No details are expected. | |
| 574 SHOULD_LOAD_PLUGINS, | |
| 575 | |
| 576 // Sent by the PluginUpdater when there is a change of plugin | 572 // Sent by the PluginUpdater when there is a change of plugin |
| 577 // enable/disable status. | 573 // enable/disable status. |
| 578 PLUGIN_ENABLE_STATUS_CHANGED, | 574 PLUGIN_ENABLE_STATUS_CHANGED, |
| 579 | 575 |
| 580 // This is sent when a login prompt is shown. The source is the | 576 // This is sent when a login prompt is shown. The source is the |
| 581 // Source<NavigationController> for the tab in which the prompt is shown. | 577 // Source<NavigationController> for the tab in which the prompt is shown. |
| 582 // Details are a LoginNotificationDetails which provide the LoginHandler | 578 // Details are a LoginNotificationDetails which provide the LoginHandler |
| 583 // that should be given authentication. | 579 // that should be given authentication. |
| 584 AUTH_NEEDED, | 580 AUTH_NEEDED, |
| 585 | 581 |
| (...skipping 728 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1314 }; | 1310 }; |
| 1315 | 1311 |
| 1316 inline bool operator==(NotificationType::Type a, NotificationType b) { | 1312 inline bool operator==(NotificationType::Type a, NotificationType b) { |
| 1317 return a == b.value; | 1313 return a == b.value; |
| 1318 } | 1314 } |
| 1319 inline bool operator!=(NotificationType::Type a, NotificationType b) { | 1315 inline bool operator!=(NotificationType::Type a, NotificationType b) { |
| 1320 return a != b.value; | 1316 return a != b.value; |
| 1321 } | 1317 } |
| 1322 | 1318 |
| 1323 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ | 1319 #endif // CHROME_COMMON_NOTIFICATION_TYPE_H_ |
| OLD | NEW |