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

Issue 2749123003: [ash-md] Fixed ShelfBackgroundAnimator to not snap target values when being preempted. (Closed)

Created:
3 years, 9 months ago by bruthig
Modified:
3 years, 9 months ago
Reviewers:
msw, James Cook
CC:
chromium-reviews, kalyank, sadrul
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[ash-md] Fixed ShelfBackgroundAnimator to not snap target values when being preempted. Snapping to the target values was causing the shelf to flicker when dragging a window while in OVERLAP mode. And on some platforms this contributed to the shelf incorrectly being painted as DEFAULT mode. BUG=695901 Review-Url: https://codereview.chromium.org/2749123003 Cr-Commit-Position: refs/heads/master@{#456892} Committed: https://chromium.googlesource.com/chromium/src/+/27dd2542a15215360c4f4fc8eeca9d72780d5167

Patch Set 1 #

Patch Set 2 : Removed ShelfBackgroundAnimatorTest.AnimationProgressesToTargetWhenStoppingUnfinishedAnimator. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -22 lines) Patch
M ash/common/shelf/shelf_background_animator.h View 1 chunk +0 lines, -1 line 0 comments Download
M ash/common/shelf/shelf_background_animator.cc View 1 chunk +0 lines, -8 lines 2 comments Download
M ash/common/shelf/shelf_background_animator_unittest.cc View 1 1 chunk +0 lines, -13 lines 0 comments Download

Messages

Total messages: 17 (10 generated)
bruthig
msw@, can you take a quick look?
3 years, 9 months ago (2017-03-14 22:01:05 UTC) #5
msw
Please bear with my questions; I've looping in James, who may be more familiar with ...
3 years, 9 months ago (2017-03-14 22:29:11 UTC) #8
bruthig
No prob on the questions. I've tried to answer them, PTAL. https://codereview.chromium.org/2749123003/diff/20001/ash/common/shelf/shelf_background_animator.cc File ash/common/shelf/shelf_background_animator.cc (left): ...
3 years, 9 months ago (2017-03-14 22:50:00 UTC) #9
msw
That seems pretty reasonable, thanks. lgtm
3 years, 9 months ago (2017-03-14 23:06:58 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/2749123003/20001
3 years, 9 months ago (2017-03-14 23:13:28 UTC) #13
James Cook
Sounds like you guys worked it out. rubber stamp lgtm
3 years, 9 months ago (2017-03-14 23:13:57 UTC) #14
commit-bot: I haz the power
3 years, 9 months ago (2017-03-14 23:38:01 UTC) #17
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/27dd2542a15215360c4f4fc8eeca...

Powered by Google App Engine
This is Rietveld 408576698