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

Issue 578653004: Overscroll for keyboard disabled while keyboard is hiding. (Closed)

Created:
6 years, 3 months ago by Peter Wen
Modified:
6 years, 3 months ago
Reviewers:
kevers, bshe
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkgr
Project:
chromium
Visibility:
Public.

Description

Overscroll for keyboard disabled while keyboard is hiding. While the keyboard is in the process of hiding, the proxy's visibility flag may not be updated yet. Use the private keyboard_visible_ flag instead as it stores the future visibility of the keyboard window after animation is completed. BUG=401670 TEST=Updated: KeyboardControllerTest.CheckOverscrollInsetDuringVisibilityChange On device: As the inset update must be initiated after the animation is started and before it is finished. Tested on clapper with the same method as in the bug, i.e. switch tab after hiding keyboard to trigger fast inset update. Committed: https://crrev.com/7975dd824d83890224e342a8e401a7566e68a3eb Cr-Commit-Position: refs/heads/master@{#295530}

Patch Set 1 #

Patch Set 2 : Add unittest. #

Patch Set 3 : Add separate unit test. #

Patch Set 4 : #

Total comments: 2

Patch Set 5 : ) #

Unified diffs Side-by-side diffs Delta from patch set Stats (+43 lines, -5 lines) Patch
M ui/keyboard/keyboard_controller.h View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/keyboard/keyboard_controller.cc View 1 2 2 chunks +9 lines, -5 lines 0 comments Download
M ui/keyboard/keyboard_controller_unittest.cc View 1 2 3 4 2 chunks +31 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (3 generated)
Peter Wen
6 years, 3 months ago (2014-09-16 21:51:58 UTC) #2
kevers
lgtm
6 years, 3 months ago (2014-09-16 21:56:40 UTC) #3
Peter Wen
Hi Biao, please take a look at this fix for overscroll. This occurs when: 1. ...
6 years, 3 months ago (2014-09-17 11:42:50 UTC) #5
bshe
On 2014/09/17 11:42:50, Peter Wen wrote: > Hi Biao, please take a look at this ...
6 years, 3 months ago (2014-09-17 13:49:19 UTC) #6
Peter Wen
Added unittest.
6 years, 3 months ago (2014-09-17 18:41:40 UTC) #7
Peter Wen
Hi Biao, would you mind checking that the test and refactor is okay? Thanks, Peter
6 years, 3 months ago (2014-09-18 13:08:32 UTC) #8
bshe
On 2014/09/18 13:08:32, Peter Wen wrote: > Hi Biao, would you mind checking that the ...
6 years, 3 months ago (2014-09-18 13:59:07 UTC) #9
Peter Wen
PTAL. :)
6 years, 3 months ago (2014-09-18 16:51:18 UTC) #10
bshe
lgtm thanks for adding the test! https://codereview.chromium.org/578653004/diff/60001/ui/keyboard/keyboard_controller_unittest.cc File ui/keyboard/keyboard_controller_unittest.cc (right): https://codereview.chromium.org/578653004/diff/60001/ui/keyboard/keyboard_controller_unittest.cc#newcode427 ui/keyboard/keyboard_controller_unittest.cc:427: nit: Do you ...
6 years, 3 months ago (2014-09-18 18:26:07 UTC) #11
Peter Wen
https://codereview.chromium.org/578653004/diff/60001/ui/keyboard/keyboard_controller_unittest.cc File ui/keyboard/keyboard_controller_unittest.cc (right): https://codereview.chromium.org/578653004/diff/60001/ui/keyboard/keyboard_controller_unittest.cc#newcode427 ui/keyboard/keyboard_controller_unittest.cc:427: On 2014/09/18 18:26:07, bshe wrote: > nit: Do you ...
6 years, 3 months ago (2014-09-18 18:41:47 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/578653004/80001
6 years, 3 months ago (2014-09-18 18:43:30 UTC) #14
commit-bot: I haz the power
Committed patchset #5 (id:80001) as 2d33dd73ec7ecb55b602c7397cfc4930f5a30bcb
6 years, 3 months ago (2014-09-18 19:40:59 UTC) #15
commit-bot: I haz the power
6 years, 3 months ago (2014-09-18 19:41:36 UTC) #16
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/7975dd824d83890224e342a8e401a7566e68a3eb
Cr-Commit-Position: refs/heads/master@{#295530}

Powered by Google App Engine
This is Rietveld 408576698