| Index: content/child/plugin_messages.h
|
| diff --git a/content/child/plugin_messages.h b/content/child/plugin_messages.h
|
| index 63a0f45893c85860b0754d9eac04158b9fc1ff4e..f6ceca208544b1f87fdd05d814eb2c150c6f013d 100644
|
| --- a/content/child/plugin_messages.h
|
| +++ b/content/child/plugin_messages.h
|
| @@ -111,6 +111,17 @@
|
| IPC_MESSAGE_CONTROL1(PluginMsg_ResetModalDialogEvent,
|
| int /* render_view_id */)
|
|
|
| +#if defined(OS_WIN)
|
| +IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated,
|
| + base::string16 /* text */,
|
| + std::vector<int> /* clauses */,
|
| + std::vector<int>, /* target */
|
| + int /* cursor_position */)
|
| +
|
| +IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted,
|
| + base::string16 /* text */)
|
| +#endif
|
| +
|
| #if defined(OS_MACOSX)
|
| IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus,
|
| bool /* has_focus */)
|
| @@ -170,6 +181,26 @@
|
| std::string /* message */)
|
|
|
| IPC_MESSAGE_CONTROL0(PluginHostMsg_PluginShuttingDown)
|
| +
|
| +#if defined(OS_WIN)
|
| +// The modal_loop_pump_messages_event parameter is an event handle which is
|
| +// passed in for windowless plugins and is used to indicate if messages
|
| +// are to be pumped in sync calls to the plugin process. Currently used
|
| +// in HandleEvent calls.
|
| +IPC_SYNC_MESSAGE_ROUTED2_0(PluginHostMsg_SetWindowlessData,
|
| + HANDLE /* modal_loop_pump_messages_event */,
|
| + gfx::NativeViewId /* dummy_activation_window*/)
|
| +
|
| +// Send the IME status retrieved from a windowless plugin. A windowless plugin
|
| +// uses the IME attached to a browser process as a renderer does. A plugin
|
| +// sends this message to control the IME status of a browser process. I would
|
| +// note that a plugin sends this message to a renderer process that hosts this
|
| +// plugin (not directly to a browser process) so the renderer process can
|
| +// update its IME status.
|
| +IPC_MESSAGE_ROUTED2(PluginHostMsg_NotifyIMEStatus,
|
| + int /* input_type */,
|
| + gfx::Rect /* caret_rect */)
|
| +#endif
|
|
|
| #if defined(OS_MACOSX)
|
| IPC_MESSAGE_ROUTED1(PluginHostMsg_FocusChanged,
|
|
|