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

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

Issue 7554005: Enable/disable input methods according to |text_input_type_| when a view (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 5 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 95038)
+++ chrome/browser/renderer_host/render_widget_host_view_win.cc (working copy)
@@ -287,6 +287,10 @@
tab_switch_paint_time_ = TimeTicks::Now();
is_hidden_ = false;
EnsureTooltip();
+ if (text_input_type_ == ui::TEXT_INPUT_TYPE_TEXT)
James Su 2011/08/08 01:41:11 Several additional text input type have been added
bashi 2011/08/08 06:16:28 Done.
+ ime_input_.EnableIME(m_hWnd);
+ else
+ ime_input_.DisableIME(m_hWnd);
render_widget_host_->WasRestored();
}
« 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