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

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

Issue 20526005: Implement virtual keyboard hiding. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Init Created 7 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
Index: ui/base/ime/input_method_base.cc
diff --git a/ui/base/ime/input_method_base.cc b/ui/base/ime/input_method_base.cc
index 6972eed925819835f309556b5de66ee52311230d..05d7c0f72d3efb2ac2e9bff5bdbc945f041854e3 100644
--- a/ui/base/ime/input_method_base.cc
+++ b/ui/base/ime/input_method_base.cc
@@ -42,6 +42,10 @@ void InputMethodBase::OnBlur() {
system_toplevel_window_focused_ = false;
}
+void InputMethodBase::OnPossibleRefocus() {
+ NotifyTextInputStateChanged(text_input_client_);
+}
+
void InputMethodBase::SetFocusedTextInputClient(TextInputClient* client) {
TextInputClient* old = text_input_client_;
OnWillChangeFocusedClient(old, client);

Powered by Google App Engine
This is Rietveld 408576698