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

Side by Side 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: Removed test code 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef UI_BASE_IME_INPUT_METHOD_H_ 5 #ifndef UI_BASE_IME_INPUT_METHOD_H_
6 #define UI_BASE_IME_INPUT_METHOD_H_ 6 #define UI_BASE_IME_INPUT_METHOD_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 // is not active. 140 // is not active.
141 virtual bool IsActive() = 0; 141 virtual bool IsActive() = 0;
142 142
143 // Gets the text input type of the focused text input client. Returns 143 // Gets the text input type of the focused text input client. Returns
144 // ui::TEXT_INPUT_TYPE_NONE if there is no focused client. 144 // ui::TEXT_INPUT_TYPE_NONE if there is no focused client.
145 virtual TextInputType GetTextInputType() const = 0; 145 virtual TextInputType GetTextInputType() const = 0;
146 146
147 // Checks if the focused text input client supports inline composition. 147 // Checks if the focused text input client supports inline composition.
148 virtual bool CanComposeInline() const = 0; 148 virtual bool CanComposeInline() const = 0;
149 149
150 // Returns true if a candidate window (or IME suggest, etc.) is open.
151 // Returns false if no popup window is open or the detection of IME popups
152 // is not supported.
153 virtual bool IsPopupOpen() const = 0;
Seigo Nonaka 2013/06/19 09:15:51 IsPopupOpen seems not clear for me. How about IsCa
Yuki 2013/06/19 09:35:54 For name, I'd like to support in near future not o
154
150 // Management of the observer list. 155 // Management of the observer list.
151 virtual void AddObserver(InputMethodObserver* observer) = 0; 156 virtual void AddObserver(InputMethodObserver* observer) = 0;
152 virtual void RemoveObserver(InputMethodObserver* observer) = 0; 157 virtual void RemoveObserver(InputMethodObserver* observer) = 0;
153 }; 158 };
154 159
155 } // namespace ui 160 } // namespace ui
156 161
157 #endif // UI_BASE_IME_INPUT_METHOD_H_ 162 #endif // UI_BASE_IME_INPUT_METHOD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698