Clear the 'has_scrolled_node_into_rect' flag on viewport resize.

This flag prevents redundant auto zoom commands when scrolling an
editable node into view. It had the side effect of making it so that
a keyboard being dismissed using the dismiss button (without losing
focus on the current node) wouldn't scroll the node back into view
if it was tapped on again. This patch clears the flag when the
visible viewport size changes, as happens when the keyboard is shown
or hidden.

BUG=375722

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@272832 0039d316-1c4b-4281-b951-d872f2087c98
1 file changed