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

Unified Diff: ui/keyboard/keyboard_controller.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/base/ime/remote_input_method_win_unittest.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/keyboard/keyboard_controller.h
diff --git a/ui/keyboard/keyboard_controller.h b/ui/keyboard/keyboard_controller.h
index e5cfbe5d84754b4604c465fab6f7579a5b0295a7..a513659044e1631d4b6a584bc8c2120f5dbef41b 100644
--- a/ui/keyboard/keyboard_controller.h
+++ b/ui/keyboard/keyboard_controller.h
@@ -52,6 +52,11 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver,
// KeyboardController.
aura::Window* GetContainerWindow();
+ // Whether the container window for the keyboard has been initialized.
+ bool keyboard_container_initialized() const {
+ return container_.get() != NULL;
+ }
+
// Sets the override content url. This is used by for input view for extension
// IMEs.
void SetOverrideContentUrl(const GURL& url);
@@ -92,6 +97,7 @@ class KEYBOARD_EXPORT KeyboardController : public ui::InputMethodObserver,
const ui::TextInputClient* client) OVERRIDE;
virtual void OnInputMethodDestroyed(
const ui::InputMethod* input_method) OVERRIDE;
+ virtual void OnShowImeIfNeeded() OVERRIDE;
// Returns true if keyboard is scheduled to hide.
bool WillHideKeyboard() const;
« no previous file with comments | « ui/base/ime/remote_input_method_win_unittest.cc ('k') | ui/keyboard/keyboard_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698