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

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

Issue 17112021: New method: InputMethod::IsCandidatePopupOpen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 6 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.h
diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h
old mode 100644
new mode 100755
index 61b628c6db0e6e86abbdb5a6c57fe23e4f4feaa8..cccf9336cd90d7a0fa00b5354c0e7a818e5bfe5c
--- a/ui/base/ime/input_method.h
+++ b/ui/base/ime/input_method.h
@@ -147,6 +147,11 @@ class InputMethod {
// Checks if the focused text input client supports inline composition.
virtual bool CanComposeInline() const = 0;
+ // Returns true if a candidate window (or IME suggest, etc.) is open.
+ // Returns false if no popup window is open or the detection of IME popups
+ // is not supported.
+ virtual bool IsPopupOpen() const = 0;
+
// Management of the observer list.
virtual void AddObserver(InputMethodObserver* observer) = 0;
virtual void RemoveObserver(InputMethodObserver* observer) = 0;

Powered by Google App Engine
This is Rietveld 408576698