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

Unified Diff: ui/base/ime/input_method_imm32.cc

Issue 23537064: Add InputScope support into InputMethodIMM32 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 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: ui/base/ime/input_method_imm32.cc
diff --git a/ui/base/ime/input_method_imm32.cc b/ui/base/ime/input_method_imm32.cc
index 41f65dfb37dba4d40698cd3aad4da08ff5f17f6b..400fd207f6d2fd2cd7aa8dfd3fa736bf897f37f8 100644
--- a/ui/base/ime/input_method_imm32.cc
+++ b/ui/base/ime/input_method_imm32.cc
@@ -7,6 +7,7 @@
#include "base/basictypes.h"
#include "ui/base/ime/composition_text.h"
#include "ui/base/ime/text_input_client.h"
+#include "ui/base/ime/win/tsf_input_scope.h"
namespace ui {
@@ -278,6 +279,8 @@ void InputMethodIMM32::UpdateIMEState() {
}
imm32_manager_.SetTextInputMode(window_handle, GetTextInputMode());
+ tsf_inputscope::SetInputScopeForTsfUnawareWindow(
+ window_handle, GetTextInputType(), GetTextInputMode());
yoichio 2013/09/23 12:09:54 Can we cache values of GetTextInputType() and *Mod
yukawa 2013/09/23 17:54:21 I think we can in this particular case, although t
}
} // namespace ui
« 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