Commit 01ca3770 authored by kevers@chromium.org's avatar kevers@chromium.org

Force resetting the VK insets when overscroll mode is disabled.

The login and lock screens can toggle overscroll mode for the virtual keyboard without triggering a rebuild of the VK.  Thus, it is possible to be in an inconsistent state between keyboard bounds change notifications.  This patch forces any insets to be reset if overscroll mode is not enabled.

BUG=384981

Review URL: https://codereview.chromium.org/341623002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@277961 0039d316-1c4b-4281-b951-d872f2087c98
parent e72dc4ae
...@@ -276,6 +276,8 @@ void KeyboardController::NotifyKeyboardBoundsChanging( ...@@ -276,6 +276,8 @@ void KeyboardController::NotifyKeyboardBoundsChanging(
} }
} }
} }
} else {
ResetWindowInsets();
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment