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

Unified Diff: ui/views/ime/input_method_bridge.cc

Issue 80583002: [FYI] All-in-one OnCandidateWindow{Show,Update,Hide} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: update Created 7 years 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 | « ui/base/ime/win/tsf_bridge.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/input_method_bridge.cc
diff --git a/ui/views/ime/input_method_bridge.cc b/ui/views/ime/input_method_bridge.cc
index 437d04fbc86460aa3341454a4ff3c2f3db864940..343b04745038c9016b2cd41ba36e8ed14bb270ca 100644
--- a/ui/views/ime/input_method_bridge.cc
+++ b/ui/views/ime/input_method_bridge.cc
@@ -309,12 +309,21 @@ void InputMethodBridge::EnsureCaretInRect(const gfx::Rect& rect) {
}
void InputMethodBridge::OnCandidateWindowShown() {
+ TextInputClient* client = GetTextInputClient();
+ if (client)
+ client->OnCandidateWindowShown();
}
void InputMethodBridge::OnCandidateWindowUpdated() {
+ TextInputClient* client = GetTextInputClient();
+ if (client)
+ client->OnCandidateWindowUpdated();
}
void InputMethodBridge::OnCandidateWindowHidden() {
+ TextInputClient* client = GetTextInputClient();
+ if (client)
+ client->OnCandidateWindowHidden();
}
// Overridden from FocusChangeListener.
« no previous file with comments | « ui/base/ime/win/tsf_bridge.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698