| OLD | NEW |
| 1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 <stdint.h> | 7 #include <stdint.h> |
| 8 | 8 |
| 9 #include "build/build_config.h" | 9 #include "build/build_config.h" |
| 10 #include "content/child/plugin_param_traits.h" | 10 #include "content/child/plugin_param_traits.h" |
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 gfx::Rect /* view_frame */) | 138 gfx::Rect /* view_frame */) |
| 139 | 139 |
| 140 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, | 140 IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted, |
| 141 base::string16 /* text */) | 141 base::string16 /* text */) |
| 142 #endif | 142 #endif |
| 143 | 143 |
| 144 //----------------------------------------------------------------------------- | 144 //----------------------------------------------------------------------------- |
| 145 // PluginHost messages | 145 // PluginHost messages |
| 146 // These are messages sent from the plugin process to the renderer process. | 146 // These are messages sent from the plugin process to the renderer process. |
| 147 // They all map to the corresponding WebPlugin methods. | 147 // They all map to the corresponding WebPlugin methods. |
| 148 // Sends the plugin window information to the renderer. | |
| 149 // The window parameter is a handle to the window if the plugin is a windowed | |
| 150 // plugin. It is NULL for windowless plugins. | |
| 151 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, | |
| 152 gfx::PluginWindowHandle /* window */) | |
| 153 | 148 |
| 154 IPC_MESSAGE_ROUTED1(PluginHostMsg_InvalidateRect, | 149 IPC_MESSAGE_ROUTED1(PluginHostMsg_InvalidateRect, |
| 155 gfx::Rect /* rect */) | 150 gfx::Rect /* rect */) |
| 156 | 151 |
| 157 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetWindowScriptNPObject, | 152 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetWindowScriptNPObject, |
| 158 int /* route id */, | 153 int /* route id */, |
| 159 bool /* success */) | 154 bool /* success */) |
| 160 | 155 |
| 161 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetPluginElement, | 156 IPC_SYNC_MESSAGE_ROUTED1_1(PluginHostMsg_GetPluginElement, |
| 162 int /* route id */, | 157 int /* route id */, |
| (...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 277 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
| 283 std::vector<content::NPVariant_Param> /* args */, | 278 std::vector<content::NPVariant_Param> /* args */, |
| 284 content::NPVariant_Param /* result_param */, | 279 content::NPVariant_Param /* result_param */, |
| 285 bool /* result */) | 280 bool /* result */) |
| 286 | 281 |
| 287 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 282 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 288 std::string /* script */, | 283 std::string /* script */, |
| 289 bool /* popups_allowed */, | 284 bool /* popups_allowed */, |
| 290 content::NPVariant_Param /* result_param */, | 285 content::NPVariant_Param /* result_param */, |
| 291 bool /* result */) | 286 bool /* result */) |
| OLD | NEW |