| 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 "build/build_config.h" | 7 #include "build/build_config.h" |
| 8 #include "content/child/plugin_param_traits.h" | 8 #include "content/child/plugin_param_traits.h" |
| 9 #include "content/common/content_export.h" | 9 #include "content/common/content_export.h" |
| 10 #include "content/common/content_param_traits.h" | 10 #include "content/common/content_param_traits.h" |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 | 298 |
| 299 #if defined(OS_WIN) | 299 #if defined(OS_WIN) |
| 300 // The modal_loop_pump_messages_event parameter is an event handle which is | 300 // The modal_loop_pump_messages_event parameter is an event handle which is |
| 301 // passed in for windowless plugins and is used to indicate if messages | 301 // passed in for windowless plugins and is used to indicate if messages |
| 302 // are to be pumped in sync calls to the plugin process. Currently used | 302 // are to be pumped in sync calls to the plugin process. Currently used |
| 303 // in HandleEvent calls. | 303 // in HandleEvent calls. |
| 304 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, | 304 IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData, |
| 305 HANDLE /* modal_loop_pump_messages_event */, | 305 HANDLE /* modal_loop_pump_messages_event */, |
| 306 gfx::NativeViewId /* dummy_activation_window*/) | 306 gfx::NativeViewId /* dummy_activation_window*/) |
| 307 | 307 |
| 308 // Send the IME status retrieved from a windowless plug-in. A windowless plug-in | 308 // Send the IME status retrieved from a windowless plugin. A windowless plugin |
| 309 // uses the IME attached to a browser process as a renderer does. A plug-in | 309 // uses the IME attached to a browser process as a renderer does. A plugin |
| 310 // sends this message to control the IME status of a browser process. I would | 310 // sends this message to control the IME status of a browser process. I would |
| 311 // note that a plug-in sends this message to a renderer process that hosts this | 311 // note that a plugin sends this message to a renderer process that hosts this |
| 312 // plug-in (not directly to a browser process) so the renderer process can | 312 // plugin (not directly to a browser process) so the renderer process can |
| 313 // update its IME status. | 313 // update its IME status. |
| 314 IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus, | 314 IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus, |
| 315 int /* input_type */, | 315 int /* input_type */, |
| 316 gfx::Rect /* caret_rect */) | 316 gfx::Rect /* caret_rect */) |
| 317 #endif | 317 #endif |
| 318 | 318 |
| 319 #if defined(OS_MACOSX) | 319 #if defined(OS_MACOSX) |
| 320 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged, | 320 IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged, |
| 321 bool /* focused */) | 321 bool /* focused */) |
| 322 | 322 |
| (...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 391 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, | 391 IPC_SYNC_MESSAGE_ROUTED1_2(NPObjectMsg_Construct, |
| 392 std::vector<content::NPVariant_Param> /* args */, | 392 std::vector<content::NPVariant_Param> /* args */, |
| 393 content::NPVariant_Param /* result_param */, | 393 content::NPVariant_Param /* result_param */, |
| 394 bool /* result */) | 394 bool /* result */) |
| 395 | 395 |
| 396 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, | 396 IPC_SYNC_MESSAGE_ROUTED2_2(NPObjectMsg_Evaluate, |
| 397 std::string /* script */, | 397 std::string /* script */, |
| 398 bool /* popups_allowed */, | 398 bool /* popups_allowed */, |
| 399 content::NPVariant_Param /* result_param */, | 399 content::NPVariant_Param /* result_param */, |
| 400 bool /* result */) | 400 bool /* result */) |
| OLD | NEW |