Description[android] Autofill popup behavior fixes.
- Don't hide autofill popup on browser height change on Android.
Android keyboard can show or hide a strip of suggestions when user
switches between input fields. If the input field triggers showing the
autofill popup, the keyboard resize will hide it, which causes a UI
flash.
- Remove redundant Views code to hide autofill popup on window resize.
Browser process now has a cross-platform way to listen to window
resize and close the autofill popup. Removed Views-only resize
listener was also firing on window move. Removing it means that moving
the window without resizing it will not close the autofill popup. The
popup stays attached to the field during window move, however.
- Let autofill know when a password popup may be showing. This enables
autofill agent to hide the popup when the page scrolls.
- Re-enable showing username suggestions on first click on Android,
which now behaves on par with desktop.
BUG=430318
Committed: https://crrev.com/2f5993f9a83beb7c92dbaa31847643d9cd41bf13
Cr-Commit-Position: refs/heads/master@{#313633}
Patch Set 1 #Patch Set 2 : MainFrameWasResized hides the popup only on Mac. #
Total comments: 2
Patch Set 3 : Remove redundant hide-on-resize on Views. #
Total comments: 7
Patch Set 4 : Update expectations of old test and add a new test. #Messages
Total messages: 34 (11 generated)
|