Update insets on change to window bounds.
commit4d93949dd0fa5ba7615002925cbc9378ee7d8e8e
authorkevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 21:12:41 +0000 (17 21:12 +0000)
committerkevers@chromium.org <kevers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 17 Jul 2014 21:12:41 +0000 (17 21:12 +0000)
tree8860683db5665c432060f296d97fde4d1e71161c
parent94cd5410b3665c30489e71511d5ecec21e772738
Update insets on change to window bounds.

In overscroll mode, any window with web contents that overlaps the virtual keyboard has insets in order to facilitate scrolling to the bottom of the document.  These insets are updated whenever the keyboard is shown or hidden.  This patch adds another update in the event that a window moves while the keyboard is visible.  This case can occur after a screen rotation while the keyboard is shown.

BUG=391337

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@283873 0039d316-1c4b-4281-b951-d872f2087c98
ui/keyboard/keyboard_controller.cc
ui/keyboard/keyboard_controller.h