Chromium Code Reviews| Index: content/renderer/webplugin_delegate_proxy.cc |
| =================================================================== |
| --- content/renderer/webplugin_delegate_proxy.cc (revision 87397) |
| +++ content/renderer/webplugin_delegate_proxy.cc (working copy) |
| @@ -445,6 +445,8 @@ |
| #if defined(OS_WIN) |
| IPC_MESSAGE_HANDLER(PluginHostMsg_SetWindowlessPumpEvent, |
| OnSetWindowlessPumpEvent) |
| + IPC_MESSAGE_HANDLER(PluginHostMsg_NotifyIMEStatus, |
| + OnNotifyIMEStatus) |
| #endif |
| IPC_MESSAGE_HANDLER(PluginHostMsg_CancelResource, OnCancelResource) |
| IPC_MESSAGE_HANDLER(PluginHostMsg_InvalidateRect, OnInvalidateRect) |
| @@ -1054,6 +1056,12 @@ |
| modal_loop_pump_messages_event_.reset( |
| new base::WaitableEvent(modal_loop_pump_messages_event)); |
| } |
| + |
| +void WebPluginDelegateProxy::OnNotifyIMEStatus(int input_type, |
| + const gfx::Rect& caret_rect) { |
| + if (render_view_) |
| + render_view_->UpdatePluginIMEStatus(input_type, caret_rect); |
|
brettw
2011/06/13 14:27:10
Unless you have future plans for the code in Rende
Hironori Bono
2011/06/16 07:34:11
Done. Thank you for noticing it.
|
| +} |
| #endif |
| void WebPluginDelegateProxy::OnCancelResource(int id) { |