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

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

Issue 826713002: [ChromeOS] Show autofill popup after keyboard (if any) is shown. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Disable autofill popup waiting for keyboard when keyboard has been disabled. Created 5 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 side-by-side diff with in-line comments
Download patch
« 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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/base/ime/input_method.h
diff --git a/ui/base/ime/input_method.h b/ui/base/ime/input_method.h
index 164b1f1a7e80ceb53cb0d8a66f877a353341bb65..ef9f2426232d70ad6f00c0961080e412d2a221fc 100644
--- a/ui/base/ime/input_method.h
+++ b/ui/base/ime/input_method.h
@@ -78,7 +78,7 @@ class InputMethod {
// Sets the text input client which receives text input events such as
// SetCompositionText(). |client| can be NULL. A gfx::NativeWindow which
- // implementes TextInputClient interface, e.g. NWA and RWHVA, should register
+ // implements TextInputClient interface, e.g. NWA and RWHVA, should register
// itself by calling the method when it is focused, and unregister itself by
// calling the method with NULL when it is unfocused.
virtual void SetFocusedTextInputClient(TextInputClient* client) = 0;
@@ -136,7 +136,7 @@ class InputMethod {
// TODO(yoichio): Following 3 methods(GetTextInputType, GetTextInputMode and
// CanComposeInline) calls client's same method and returns its value. It is
- // not InputMethod itself's infomation. So rename these to
+ // not InputMethod itself's information. So rename these to
// GetClientTextInputType and so on.
// Gets the text input type of the focused text input client. Returns
// ui::TEXT_INPUT_TYPE_NONE if there is no focused client.
@@ -161,6 +161,18 @@ class InputMethod {
// Displays an on screen keyboard if enabled.
virtual void ShowImeIfNeeded() = 0;
+ // Called by an on screen keyboard controller to specify whether focusing a
+ // text input element will show the on screen keyboard.
+ virtual void SetSupportsOnScreenKeyboard(bool supported) = 0;
+
+ // Returns true if focusing a text input element will show an on screen
+ // keyboard.
+ virtual bool SupportsOnScreenKeyboard() const = 0;
+
+ // Called by an on screen keyboard controller when the on screen keyboard was
+ // requested to be shown, but was already showing.
+ virtual void NotifyKeyboardBoundsUnchanged() = 0;
+
// Management of the observer list.
virtual void AddObserver(InputMethodObserver* observer) = 0;
virtual void RemoveObserver(InputMethodObserver* observer) = 0;
« 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