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

Issue 1547563003: Fix and simplify bookmark bar detach/attach animation. (Closed)

Created:
4 years, 12 months ago by Evan Stade
Modified:
4 years, 11 months ago
Reviewers:
Peter Kasting, sky
CC:
chromium-reviews, tfarina
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix and simplify bookmark bar detach/attach animation. (Shown on NTP) Problem 1: the cross-fading was not executed properly. It should start by drawing the attached bar at full opacity and transition to detached by painting detached on top of that at partial opacity (defined by animation state). Problem 2: it painted as fully detached when current_state was 0. At this point it should be painting as fully attached. This led to a single-frame flash of lightness at the start of the attached->detached animation. BUG=none Committed: https://crrev.com/e41343316020f0e843f68be647bbd4359cc6a87d Cr-Commit-Position: refs/heads/master@{#367094}

Patch Set 1 #

Patch Set 2 : . #

Total comments: 2

Patch Set 3 : no uint8 #

Patch Set 4 : rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+29 lines, -72 lines) Patch
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.h View 1 2 3 6 chunks +6 lines, -11 lines 0 comments Download
M chrome/browser/ui/views/bookmarks/bookmark_bar_view.cc View 1 2 3 10 chunks +13 lines, -22 lines 0 comments Download
M chrome/browser/ui/views/frame/browser_view.cc View 1 2 3 2 chunks +10 lines, -39 lines 0 comments Download

Messages

Total messages: 26 (13 generated)
Evan Stade
4 years, 12 months ago (2015-12-22 01:39:13 UTC) #3
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547563003/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547563003/20001
4 years, 12 months ago (2015-12-22 01:57:19 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 12 months ago (2015-12-22 04:20:45 UTC) #7
Peter Kasting
Huh. When is this actually triggered? Toggling the bookmark bar on and off seems to ...
4 years, 12 months ago (2015-12-22 05:52:42 UTC) #8
sky
LGTM
4 years, 11 months ago (2015-12-28 16:29:45 UTC) #9
Evan Stade
> When is this actually triggered? the detach/attach animation is displayed when toggling the bar ...
4 years, 11 months ago (2015-12-29 17:14:16 UTC) #11
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547563003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547563003/40001
4 years, 11 months ago (2015-12-29 17:17:33 UTC) #13
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: ios_dbg_simulator_ninja on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios_dbg_simulator_ninja/builds/111684) ios_rel_device_ninja on ...
4 years, 11 months ago (2015-12-29 17:19:00 UTC) #15
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547563003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547563003/60001
4 years, 11 months ago (2015-12-29 17:23:40 UTC) #17
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
4 years, 11 months ago (2015-12-29 18:15:53 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1547563003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1547563003/60001
4 years, 11 months ago (2015-12-29 19:40:21 UTC) #22
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 11 months ago (2015-12-29 19:44:39 UTC) #24
commit-bot: I haz the power
4 years, 11 months ago (2015-12-29 19:45:55 UTC) #26
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/e41343316020f0e843f68be647bbd4359cc6a87d
Cr-Commit-Position: refs/heads/master@{#367094}

Powered by Google App Engine
This is Rietveld 408576698