summaryrefslogtreecommitdiffstats
path: root/ui/keyboard/keyboard_controller_proxy.h
diff options
context:
space:
mode:
authorbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-02 06:28:18 +0000
committerbshe@chromium.org <bshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-02 06:28:18 +0000
commit282bb08fafb3e13cd408751e79811c8c5add50ce (patch)
tree6b8b37f6217b5e9b1a7f88dc78c97467f5e1c562 /ui/keyboard/keyboard_controller_proxy.h
parent6568c523ae76412feb72d9f209529f94885d31f9 (diff)
downloadchromium_src-282bb08fafb3e13cd408751e79811c8c5add50ce.zip
chromium_src-282bb08fafb3e13cd408751e79811c8c5add50ce.tar.gz
chromium_src-282bb08fafb3e13cd408751e79811c8c5add50ce.tar.bz2
Resize work space after show keyboard animation finished
This CL adds animation observer to both show and hide virtual keyboard animation. And some tasks that should be done after animation finished is moved to the correct place. BUG=336257 Review URL: https://codereview.chromium.org/140823016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@248400 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/keyboard/keyboard_controller_proxy.h')
-rw-r--r--ui/keyboard/keyboard_controller_proxy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/keyboard/keyboard_controller_proxy.h b/ui/keyboard/keyboard_controller_proxy.h
index c028b74..de4473e 100644
--- a/ui/keyboard/keyboard_controller_proxy.h
+++ b/ui/keyboard/keyboard_controller_proxy.h
@@ -74,6 +74,10 @@ class KEYBOARD_EXPORT KeyboardControllerProxy {
// type the of focused input box.
virtual void SetUpdateInputType(ui::TextInputType type);
+ // Ensures caret in current work area (not occluded by virtual keyboard
+ // window).
+ virtual void EnsureCaretInWorkArea();
+
protected:
// Gets the BrowserContext to use for creating the WebContents hosting the
// keyboard.