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..575cbcdb3057c98cbe6b4677fa0f7507bcce2377 |
--- 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 we know for sure that 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 IsCandidatePopupOpen() const = 0; |
+ |
// Management of the observer list. |
virtual void AddObserver(InputMethodObserver* observer) = 0; |
virtual void RemoveObserver(InputMethodObserver* observer) = 0; |