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

Unified Diff: chrome/browser/renderer_host/render_widget_host_view_win.cc

Issue 42691: A workaround fix for Issue 3693.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_host_view_win.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host_view_win.cc (revision 12629)
+++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -810,6 +810,12 @@
return 1;
}
}
+
+ // WebKit does not update its IME status when a user clicks a mouse button
+ // to change the input focus onto a popup menu. As a workaround, we finish
+ // an ongoing composition every time when we click a left button.
+ if (message == WM_LBUTTONDOWN)
+ ime_input_.CleanupComposition(m_hWnd);
}
ForwardMouseEventToRenderer(message, wparam, lparam);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698