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

Side by Side Diff: ui/base/ime/input_method.h

Issue 29943002: Limit display of the virtual keyboard to state changes triggered from a user gesture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ash_unittests Created 6 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « ui/base/ime/dummy_input_method.cc ('k') | ui/base/ime/input_method_base.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 virtual TextInputMode GetTextInputMode() const = 0; 147 virtual TextInputMode GetTextInputMode() const = 0;
148 148
149 // Checks if the focused text input client supports inline composition. 149 // Checks if the focused text input client supports inline composition.
150 virtual bool CanComposeInline() const = 0; 150 virtual bool CanComposeInline() const = 0;
151 151
152 // Returns true if we know for sure that a candidate window (or IME suggest, 152 // Returns true if we know for sure that a candidate window (or IME suggest,
153 // etc.) is open. Returns false if no popup window is open or the detection 153 // etc.) is open. Returns false if no popup window is open or the detection
154 // of IME popups is not supported. 154 // of IME popups is not supported.
155 virtual bool IsCandidatePopupOpen() const = 0; 155 virtual bool IsCandidatePopupOpen() const = 0;
156 156
157 // Displays an on screen keyboard if enabled.
158 virtual void ShowImeIfNeeded() = 0;
159
157 // Management of the observer list. 160 // Management of the observer list.
158 virtual void AddObserver(InputMethodObserver* observer) = 0; 161 virtual void AddObserver(InputMethodObserver* observer) = 0;
159 virtual void RemoveObserver(InputMethodObserver* observer) = 0; 162 virtual void RemoveObserver(InputMethodObserver* observer) = 0;
160 }; 163 };
161 164
162 } // namespace ui 165 } // namespace ui
163 166
164 #endif // UI_BASE_IME_INPUT_METHOD_H_ 167 #endif // UI_BASE_IME_INPUT_METHOD_H_
OLDNEW
« no previous file with comments | « ui/base/ime/dummy_input_method.cc ('k') | ui/base/ime/input_method_base.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698