Description[Home] Set soft input mode based on sheet state
This change fixes the content jumping problem experienced in Chrome
Home when navigating with a focused omnibox. Normally, when the
omnibox gets focus, the input mode is changed to SOFT_INPUT_ADJUST_PAN
and not changed back until defocusing is complete. This causes a
problem if the omnibox is moving (i.e. Chrome Home). In the Chrome
Home version, while defocusing, the input mode is immediately changed
to *_NOTHING. When the sheet reaches the peek state, the mode is
changed back to *_RESIZE. The deferring of the mode change prevents
the content jump.
BUG=706918
Review-Url: https://codereview.chromium.org/2831233002
Cr-Commit-Position: refs/heads/master@{#466357}
Committed: https://chromium.googlesource.com/chromium/src/+/0d5af94346c215cb917920baced6c06bb9110e61
Patch Set 1 #
Total comments: 4
Patch Set 2 : address comments #Messages
Total messages: 15 (8 generated)
|