Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2276)

Unified Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 7082034: Send IME events to windowless plug-ins (Chromium side) (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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) {

Powered by Google App Engine
This is Rietveld 408576698