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

Issue 617013002: Remove redundant SetBounds calls to the keyboard window. (Closed)

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

Description

Remove redundant SetBounds calls to the keyboard window. These additional calls were preempting the initial load animation from finishing. Keyboard show animations would start, then a SetBounds call would skip the animation resulting in an abrupt first-load experience of the keyboard jumping right to the end position and being blank (still loading). After this fix the keyboard nicely animates till the end and by the time the animation is finished the keyboard is loaded as well. BUG=356753 TEST=Verified on linux chromeos. Committed: https://crrev.com/c9bb939b8326bf72cb241b3eefa5d428906a043c Cr-Commit-Position: refs/heads/master@{#297930}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add comment. #

Patch Set 3 : Punt animation zero change. #

Patch Set 4 : Fix unit tests for visibility change. #

Patch Set 5 : ) #

Patch Set 6 : ] #

Patch Set 7 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -3 lines) Patch
M ui/keyboard/keyboard_controller.cc View 1 2 3 4 5 1 chunk +3 lines, -2 lines 0 comments Download
M ui/keyboard/keyboard_controller_proxy.cc View 1 2 3 4 5 6 1 chunk +5 lines, -1 line 0 comments Download

Messages

Total messages: 14 (4 generated)
Peter Wen
This change includes resetting opacity to 0 as it does not crash with the value ...
6 years, 2 months ago (2014-09-30 19:15:19 UTC) #2
kevers
lgtm
6 years, 2 months ago (2014-09-30 19:35:15 UTC) #3
bshe
lgtm Do you mind to add a unit test in a follow up CL? https://codereview.chromium.org/617013002/diff/1/ui/keyboard/keyboard_controller_proxy.cc ...
6 years, 2 months ago (2014-09-30 21:57:16 UTC) #4
Peter Wen
On 2014/09/30 21:57:16, bshe wrote: > lgtm > > Do you mind to add a ...
6 years, 2 months ago (2014-10-01 21:48:22 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/617013002/20001
6 years, 2 months ago (2014-10-01 21:49:59 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_swarming/builds/19842) linux_chromium_rel_swarming on tryserver.chromium.linux (http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_swarming/builds/21736)
6 years, 2 months ago (2014-10-01 22:58:54 UTC) #9
Peter Wen
It turns out that JS was calling window.resizeTo repeatedly with the same arguments. I will ...
6 years, 2 months ago (2014-10-02 21:44:06 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/617013002/120001
6 years, 2 months ago (2014-10-02 22:08:26 UTC) #12
commit-bot: I haz the power
Committed patchset #7 (id:120001) as f3970531623cbaf9da9a3124684b3a11a05a4ec2
6 years, 2 months ago (2014-10-02 22:36:25 UTC) #13
commit-bot: I haz the power
6 years, 2 months ago (2014-10-02 22:37:10 UTC) #14
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/c9bb939b8326bf72cb241b3eefa5d428906a043c
Cr-Commit-Position: refs/heads/master@{#297930}

Powered by Google App Engine
This is Rietveld 408576698