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

Unified Diff: ui/base/ime/text_input_client.h

Issue 80583002: [FYI] All-in-one OnCandidateWindow{Show,Update,Hide} (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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/text_input_client.h
diff --git a/ui/base/ime/text_input_client.h b/ui/base/ime/text_input_client.h
index 81588467d90b1b8c6dcd1ed121f5a3672f483209..d03dc63e939e8e9a1b0257cc3ea08339b81e1b7a 100644
--- a/ui/base/ime/text_input_client.h
+++ b/ui/base/ime/text_input_client.h
@@ -147,6 +147,13 @@ class UI_EXPORT TextInputClient {
// Ensure the caret is within |rect|. |rect| is in screen coordinates and
// may extend beyond the bounds of this TextInputClient.
virtual void EnsureCaretInRect(const gfx::Rect& rect) = 0;
+
+ // Called when IME shows a candidate window for the ongoing composition.
+ virtual void OnCandidateWindowShow() = 0;
+ // Called when IME updates any appearance of the current candidate window.
+ virtual void OnCandidateWindowUpdate() = 0;
+ // Called when IME hides the candidate window.
+ virtual void OnCandidateWindowHide() = 0;
};
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698