diff options
author | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-16 03:21:50 +0000 |
---|---|---|
committer | stevet@chromium.org <stevet@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-09-16 03:21:50 +0000 |
commit | ab747ade564634f87ea1b0c2c0fe304dd9d914a0 (patch) | |
tree | ba347e5066f40770136703c4975e90b7f9f9bf9c /ash/root_window_controller.h | |
parent | 5f244b33660ce1b1ba85180dc1553c75bb2150b5 (diff) | |
download | chromium_src-ab747ade564634f87ea1b0c2c0fe304dd9d914a0.zip chromium_src-ab747ade564634f87ea1b0c2c0fe304dd9d914a0.tar.gz chromium_src-ab747ade564634f87ea1b0c2c0fe304dd9d914a0.tar.bz2 |
Implement virtual keyboard hiding.
This makes the keyboard button actually hide the keyboard. Note that we achieve this by exposing the hide keyboard functionality as an extension API. This is stubbed in for WebUI but is not yet implemented.
Note that this leaves a known issue where tapping a text field, hiding a keyboard, and retapping that already-focused text field does not deploy the keyboard a second time (you'd have to unfocus the text field first).
BUG=236925
Review URL: https://chromiumcodereview.appspot.com/20526005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@223308 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/root_window_controller.h')
-rw-r--r-- | ash/root_window_controller.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ash/root_window_controller.h b/ash/root_window_controller.h index a3d99a3..49ce6b8 100644 --- a/ash/root_window_controller.h +++ b/ash/root_window_controller.h @@ -102,6 +102,10 @@ class ASH_EXPORT RootWindowController : public ShellObserver { return always_on_top_controller_.get(); } + keyboard::KeyboardController* keyboard_controller() { + return keyboard_controller_.get(); + } + ScreenDimmer* screen_dimmer() { return screen_dimmer_.get(); } // Access the shelf associated with this root window controller, |