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

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

Issue 17112021: New method: InputMethod::IsCandidatePopupOpen() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Synced. 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
« no previous file with comments | « ui/base/ime/mock_input_method.cc ('k') | ui/views/ime/input_method_bridge.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/ime/input_method.h
diff --git a/ui/views/ime/input_method.h b/ui/views/ime/input_method.h
old mode 100644
new mode 100755
index 9b4052f71861f9bc3291b431115880ab8e882fd2..f4e8a482285df5516c892ddcd47554e30ee6f5f5
--- a/ui/views/ime/input_method.h
+++ b/ui/views/ime/input_method.h
@@ -113,6 +113,11 @@ class VIEWS_EXPORT InputMethod {
// ui::TEXT_INPUT_TYPE_NONE if there is no focused text input client.
virtual ui::TextInputType GetTextInputType() 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;
+
// Returns true if the input method is a mock instance used for testing.
virtual bool IsMock() const = 0;
« no previous file with comments | « ui/base/ime/mock_input_method.cc ('k') | ui/views/ime/input_method_bridge.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698