summaryrefslogtreecommitdiffstats
path: root/views/ime
diff options
context:
space:
mode:
authoroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-29 19:43:21 +0000
committeroshima@google.com <oshima@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-29 19:43:21 +0000
commit8f2ffcecd29fff4c7d38f4a9b46c65aaafb55560 (patch)
tree21e1ecbe53b8d07b13a3c676f0278d1b3c88a31c /views/ime
parent5dec2ba31039b6aacd5f5e5de0fbc945a736e580 (diff)
downloadchromium_src-8f2ffcecd29fff4c7d38f4a9b46c65aaafb55560.zip
chromium_src-8f2ffcecd29fff4c7d38f4a9b46c65aaafb55560.tar.gz
chromium_src-8f2ffcecd29fff4c7d38f4a9b46c65aaafb55560.tar.bz2
minor fixes to get virtual keyboard work on views desktop without ibus
* Call OnTextInputTypeChanged from Mock class (which is used when ibus is not present) * Don't create InputMethod in desktop window. * Fix comment on RWHVV to be more accurate. BUG=none TEST=none Review URL: http://codereview.chromium.org/7761008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@98676 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'views/ime')
-rw-r--r--views/ime/mock_input_method.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/views/ime/mock_input_method.cc b/views/ime/mock_input_method.cc
index 0889494..5295585 100644
--- a/views/ime/mock_input_method.cc
+++ b/views/ime/mock_input_method.cc
@@ -80,6 +80,7 @@ void MockInputMethod::DispatchKeyEvent(const KeyEvent& key) {
void MockInputMethod::OnTextInputTypeChanged(View* view) {
if (IsViewFocused(view))
text_input_type_changed_ = true;
+ InputMethodBase::OnTextInputTypeChanged(view);
}
void MockInputMethod::OnCaretBoundsChanged(View* view) {