| 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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, | 299 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindow, |
| 300 gfx::PluginWindowHandle /* window */) | 300 gfx::PluginWindowHandle /* window */) |
| 301 | 301 |
| 302 #if defined(OS_WIN) | 302 #if defined(OS_WIN) |
| 303 // The modal_loop_pump_messages_event parameter is an event handle which is | 303 // The modal_loop_pump_messages_event parameter is an event handle which is |
| 304 // passed in for windowless plugins and is used to indicate if messages | 304 // passed in for windowless plugins and is used to indicate if messages |
| 305 // are to be pumped in sync calls to the plugin process. Currently used | 305 // are to be pumped in sync calls to the plugin process. Currently used |
| 306 // in HandleEvent calls. | 306 // in HandleEvent calls. |
| 307 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindowlessPumpEvent, | 307 IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindowlessPumpEvent, |
| 308 HANDLE /* modal_loop_pump_messages_event */) | 308 HANDLE /* modal_loop_pump_messages_event */) |
| 309 |
| 310 // Send the IME status retrieved from a windowless plug-in. A windowless plug-in |
| 311 // uses the IME attached to a browser process as a renderer does. A plug-in |
| 312 // sends this message to control the IME status of a browser process. I would |
| 313 // note that a plug-in sends this message to a renderer process that hosts this |
| 314 // plug-in (not directly to a browser process) so the renderer process can |
| 315 // update its IME status. |
| 316 IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus, |
| 317 int /* input_type */, |
| 318 gfx::Rect /* caret_rect */) |
| 309 #endif | 319 #endif |
| 310 | 320 |
| 311 IPC_MESSAGE_ROUTED1(PluginHostMsg_URLRequest, | 321 IPC_MESSAGE_ROUTED1(PluginHostMsg_URLRequest, |
| 312 PluginHostMsg_URLRequest_Params) | 322 PluginHostMsg_URLRequest_Params) |
| 313 | 323 |
| 314 IPC_MESSAGE_ROUTED1(PluginHostMsg_CancelResource, | 324 IPC_MESSAGE_ROUTED1(PluginHostMsg_CancelResource, |
| 315 int /* id */) | 325 int /* id */) |
| 316 | 326 |
| 317 IPC_MESSAGE_ROUTED1(PluginHostMsg_InvalidateRect, | 327 IPC_MESSAGE_ROUTED1(PluginHostMsg_InvalidateRect, |
| 318 gfx::Rect /* rect */) | 328 gfx::Rect /* rect */) |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 470 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 480 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
| 471 std::vector<NPVariant_Param> /* args */, | 481 std::vector<NPVariant_Param> /* args */, |
| 472 NPVariant_Param /* result_param */, | 482 NPVariant_Param /* result_param */, |
| 473 bool /* result */) | 483 bool /* result */) |
| 474 | 484 |
| 475 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 485 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 476 std::string /* script */, | 486 std::string /* script */, |
| 477 bool /* popups_allowed */, | 487 bool /* popups_allowed */, |
| 478 NPVariant_Param /* result_param */, | 488 NPVariant_Param /* result_param */, |
| 479 bool /* result */) | 489 bool /* result */) |
| OLD | NEW |