summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorshuchen <shuchen@chromium.org>2015-06-04 21:04:09 -0700
committerCommit bot <commit-bot@chromium.org>2015-06-05 04:04:33 +0000
commita44d2d01e6b6e77f60988cf166971cb79668346e (patch)
tree3792892ec4d09b7e3b796eb675c4e8ab75b40bde
parent409d8841c82689fb82f14097727b263737c3c587 (diff)
downloadchromium_src-a44d2d01e6b6e77f60988cf166971cb79668346e.zip
chromium_src-a44d2d01e6b6e77f60988cf166971cb79668346e.tar.gz
chromium_src-a44d2d01e6b6e77f60988cf166971cb79668346e.tar.bz2
Notify InputMethodBase on TextInputState change to send InputMethodObserver::OnTextInputStateChanged notification
InputMethodAuraLinux, which is derived from InputMethodBase, has implmented OnTextInputTypeChanged. And InputMethodAuraLinux is not propagating OntextInputTyepChanged to InputMethodBase, because of which InputMethodObserver's does not get the notification OnTextInputStateChanged. The cl is to propagate the change event to InputMethodBase so that InputMethodObserver APIs are notified appropriately. TBR=yukawa@chromium.org BUG=None TEST=None Review URL: https://codereview.chromium.org/1160433006 Cr-Commit-Position: refs/heads/master@{#333008}
-rw-r--r--ui/base/ime/input_method_auralinux.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/base/ime/input_method_auralinux.cc b/ui/base/ime/input_method_auralinux.cc
index eebfc32..7f70b5e 100644
--- a/ui/base/ime/input_method_auralinux.cc
+++ b/ui/base/ime/input_method_auralinux.cc
@@ -154,6 +154,7 @@ void InputMethodAuraLinux::UpdateContextFocusState() {
void InputMethodAuraLinux::OnTextInputTypeChanged(
const TextInputClient* client) {
UpdateContextFocusState();
+ InputMethodBase::OnTextInputTypeChanged(client);
// TODO(yoichio): Support inputmode HTML attribute.
}