summaryrefslogtreecommitdiffstats
path: root/ash/shell
diff options
context:
space:
mode:
authorbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-02 01:03:20 +0000
committerbryeung@chromium.org <bryeung@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-05-02 01:03:20 +0000
commit69a0f858da149d93324c70a5a4886011ae553c99 (patch)
tree6ec3f31a5f67d3ba52a9a48bc6f5c68ce1465231 /ash/shell
parent4cb117ed84a01debdc94d8b6b0db4adf26c5ab68 (diff)
downloadchromium_src-69a0f858da149d93324c70a5a4886011ae553c99.zip
chromium_src-69a0f858da149d93324c70a5a4886011ae553c99.tar.gz
chromium_src-69a0f858da149d93324c70a5a4886011ae553c99.tar.bz2
Scroll focused editable nodes into view.
When the keyboard is shown, scroll any focused editable node of the currently active WebContents into view. BUG=235157 Review URL: https://chromiumcodereview.appspot.com/14212006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197761 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ash/shell')
-rw-r--r--ash/shell/shell_delegate_impl.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/ash/shell/shell_delegate_impl.cc b/ash/shell/shell_delegate_impl.cc
index 1ddd201..55d2592 100644
--- a/ash/shell/shell_delegate_impl.cc
+++ b/ash/shell/shell_delegate_impl.cc
@@ -40,6 +40,9 @@ class DummyKeyboardControllerProxy : public keyboard::KeyboardControllerProxy {
return Shell::GetInstance()->input_method_filter()->input_method();
}
+ virtual void OnKeyboardBoundsChanged(const gfx::Rect& new_bounds) OVERRIDE {
+ }
+
DISALLOW_COPY_AND_ASSIGN(DummyKeyboardControllerProxy);
};