| 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 // Multiply-included message file, hence no include guard. | 5 // Multiply-included message file, hence no include guard. |
| 6 | 6 |
| 7 #include "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "content/common/common_param_traits.h" | 8 #include "content/common/common_param_traits.h" |
| 9 #include "content/common/webkit_param_traits.h" | 9 #include "content/common/webkit_param_traits.h" |
| 10 #include "ipc/ipc_channel_handle.h" | 10 #include "ipc/ipc_channel_handle.h" |
| (...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 | 66 |
| 67 //----------------------------------------------------------------------------- | 67 //----------------------------------------------------------------------------- |
| 68 // PluginProcess messages | 68 // PluginProcess messages |
| 69 // These are messages sent from the browser to the plugin process. | 69 // These are messages sent from the browser to the plugin process. |
| 70 // Tells the plugin process to create a new channel for communication with a | 70 // Tells the plugin process to create a new channel for communication with a |
| 71 // given renderer. The channel name is returned in a | 71 // given renderer. The channel name is returned in a |
| 72 // PluginProcessHostMsg_ChannelCreated message. The renderer ID is passed so | 72 // PluginProcessHostMsg_ChannelCreated message. The renderer ID is passed so |
| 73 // that the plugin process reuses an existing channel to that process if it | 73 // that the plugin process reuses an existing channel to that process if it |
| 74 // exists. This ID is a unique opaque identifier generated by the browser | 74 // exists. This ID is a unique opaque identifier generated by the browser |
| 75 // process. | 75 // process. |
| 76 IPC_MESSAGE_CONTROL2(PluginProcessMsg_CreateChannel, | 76 IPC_MESSAGE_CONTROL3(PluginProcessMsg_CreateChannel, |
| 77 int /* renderer_id */, | 77 int /* renderer_id */, |
| 78 bool /* save local state */, |
| 78 bool /* off_the_record */) | 79 bool /* off_the_record */) |
| 79 | 80 |
| 80 // Tells the plugin process to notify every connected renderer of the pending | 81 // Tells the plugin process to notify every connected renderer of the pending |
| 81 // shutdown, so we don't mistake it for a crash. | 82 // shutdown, so we don't mistake it for a crash. |
| 82 IPC_MESSAGE_CONTROL0(PluginProcessMsg_NotifyRenderersOfPendingShutdown) | 83 IPC_MESSAGE_CONTROL0(PluginProcessMsg_NotifyRenderersOfPendingShutdown) |
| 83 | 84 |
| 84 | 85 |
| 85 //----------------------------------------------------------------------------- | 86 //----------------------------------------------------------------------------- |
| 86 // PluginProcessHost messages | 87 // PluginProcessHost messages |
| 87 // These are messages sent from the plugin process to the browser process. | 88 // These are messages sent from the plugin process to the browser process. |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 474 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 475 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
| 475 std::vector<NPVariant_Param> /* args */, | 476 std::vector<NPVariant_Param> /* args */, |
| 476 NPVariant_Param /* result_param */, | 477 NPVariant_Param /* result_param */, |
| 477 bool /* result */) | 478 bool /* result */) |
| 478 | 479 |
| 479 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 480 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 480 std::string /* script */, | 481 std::string /* script */, |
| 481 bool /* popups_allowed */, | 482 bool /* popups_allowed */, |
| 482 NPVariant_Param /* result_param */, | 483 NPVariant_Param /* result_param */, |
| 483 bool /* result */) | 484 bool /* result */) |
| OLD | NEW |