| Index: content/common/plugin_messages.h
|
| ===================================================================
|
| --- content/common/plugin_messages.h (revision 103683)
|
| +++ content/common/plugin_messages.h (working copy)
|
| @@ -203,6 +203,17 @@
|
| IPC_MESSAGE_ROUTED1(PluginMsg_SetContentAreaFocus,
|
| bool /* has_focus */)
|
|
|
| +#if defined(OS_WIN)
|
| +IPC_MESSAGE_ROUTED4(PluginMsg_ImeCompositionUpdated,
|
| + string16 /* text */,
|
| + std::vector<int> /* clauses */,
|
| + std::vector<int>, /* target */
|
| + int /* cursor_position */)
|
| +
|
| +IPC_MESSAGE_ROUTED1(PluginMsg_ImeCompositionCompleted,
|
| + string16 /* text */)
|
| +#endif
|
| +
|
| #if defined(OS_MACOSX)
|
| IPC_MESSAGE_ROUTED1(PluginMsg_SetWindowFocus,
|
| bool /* has_focus */)
|
| @@ -304,6 +315,16 @@
|
| // in HandleEvent calls.
|
| IPC_SYNC_MESSAGE_ROUTED1_0(PluginHostMsg_SetWindowlessPumpEvent,
|
| HANDLE /* modal_loop_pump_messages_event */)
|
| +
|
| +// Send the IME status retrieved from a windowless plug-in. A windowless plug-in
|
| +// uses the IME attached to a browser process as a renderer does. A plug-in
|
| +// sends this message to control the IME status of a browser process. I would
|
| +// note that a plug-in sends this message to a renderer process that hosts this
|
| +// plug-in (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
|
|
|
| IPC_MESSAGE_ROUTED1(PluginHostMsg_URLRequest,
|
|
|