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

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

Issue 2099012: Cancels an ongoing IME composition when receiving an IME_CANCEL_COMPOSITION e... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 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
« no previous file with comments | « chrome/browser/ime_input.cc ('k') | 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 46639)
+++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -614,6 +614,8 @@
const gfx::Rect& caret_rect) {
if (control == IME_DISABLE) {
ime_input_.DisableIME(m_hWnd);
+ } else if (control == IME_CANCEL_COMPOSITION) {
+ ime_input_.CancelIME(m_hWnd);
} else {
ime_input_.EnableIME(m_hWnd, caret_rect,
control == IME_COMPLETE_COMPOSITION);
« no previous file with comments | « chrome/browser/ime_input.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698