Index: chrome/plugin/webplugin_proxy.cc |
diff --git a/chrome/plugin/webplugin_proxy.cc b/chrome/plugin/webplugin_proxy.cc |
index 5ec1b433aa138e1fc21cdf59e60ca7dc82e7d6e7..97413934fe05ffde2d8a2b68f8e2ae9fca3f5e6b 100644 |
--- a/chrome/plugin/webplugin_proxy.cc |
+++ b/chrome/plugin/webplugin_proxy.cc |
@@ -648,6 +648,14 @@ void WebPluginProxy::SetDeferResourceLoading(unsigned long resource_id, |
} |
#if defined(OS_MACOSX) |
+void WebPluginProxy::SetImeEnabled(bool enabled) { |
+ IPC::Message* msg = new PluginHostMsg_SetImeEnabled(route_id_, enabled); |
+ // This message can be sent during event-handling, and needs to be delivered |
+ // within that context. |
+ msg->set_unblock(true); |
+ Send(msg); |
+} |
+ |
void WebPluginProxy::BindFakePluginWindowHandle(bool opaque) { |
Send(new PluginHostMsg_BindFakePluginWindowHandle(route_id_, opaque)); |
} |