Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(46)

Issue 2831233002: [Home] Set soft input mode based on sheet state (Closed)

Created:
3 years, 8 months ago by mdjones
Modified:
3 years, 8 months ago
Reviewers:
Ted C
CC:
chromium-reviews, jdonnelly+watch_chromium.org, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

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 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -24 lines) Patch
M chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java View 1 4 chunks +58 lines, -24 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
mdjones
ptal
3 years, 8 months ago (2017-04-20 21:32:18 UTC) #2
Ted C
lgtm https://codereview.chromium.org/2831233002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java (right): https://codereview.chromium.org/2831233002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java#newcode193 chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java:193: if (mKeyboardResizeModeTask != null) { I think we ...
3 years, 8 months ago (2017-04-20 22:54:57 UTC) #4
mdjones
https://codereview.chromium.org/2831233002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java File chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java (right): https://codereview.chromium.org/2831233002/diff/1/chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java#newcode193 chrome/android/java/src/org/chromium/chrome/browser/omnibox/LocationBarPhone.java:193: if (mKeyboardResizeModeTask != null) { On 2017/04/20 22:54:56, Ted ...
3 years, 8 months ago (2017-04-21 00:22:46 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831233002/20001
3 years, 8 months ago (2017-04-21 00:23:33 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/394523)
3 years, 8 months ago (2017-04-21 00:25:57 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2831233002/20001
3 years, 8 months ago (2017-04-21 16:18:28 UTC) #12
commit-bot: I haz the power
3 years, 8 months ago (2017-04-21 16:27:20 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0d5af94346c215cb917920baced6...

Powered by Google App Engine
This is Rietveld 408576698