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

Issue 529103002: Do not use NSAnimation to drive scrollbar animations. (Closed)

Created:
6 years, 3 months ago by Robert Sesek
Modified:
6 years, 3 months ago
CC:
blink-reviews, shans, rjwright, Mike Lawther (Google), blink-reviews-animation_chromium.org, dstockwell, Timothy Loh, darktears, Steve Block, Eric Willigers, ccameron
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Do not use NSAnimation to drive scrollbar animations. NSAnimation requires a connection to WindowServer. Since it's only really being used to drive an animation timer, simply reimplement this with Blink primitives. BUG=397642, 306348, 325938 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=181388

Patch Set 1 #

Patch Set 2 : Style #

Total comments: 6

Patch Set 3 : Address comments #

Total comments: 7

Patch Set 4 : Address kbr@ comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+82 lines, -8 lines) Patch
M Source/platform/mac/ScrollAnimatorMac.mm View 1 2 3 5 chunks +82 lines, -8 lines 0 comments Download

Messages

Total messages: 13 (5 generated)
Robert Sesek
asvitkine: Please review/WDYT? ccameron: FYI
6 years, 3 months ago (2014-09-02 20:10:53 UTC) #3
Alexei Svitkine (slow)
Seems reasonable to me, LGTM. https://codereview.chromium.org/529103002/diff/40001/Source/platform/mac/ScrollAnimatorMac.mm File Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/529103002/diff/40001/Source/platform/mac/ScrollAnimatorMac.mm#newcode299 Source/platform/mac/ScrollAnimatorMac.mm:299: class WebScrollbarPartAnimationTimer { Nit: ...
6 years, 3 months ago (2014-09-03 15:39:36 UTC) #4
Robert Sesek
+kbr for platform/OWNERS and review Thanks, Alexei! Feedback addressed. https://codereview.chromium.org/529103002/diff/40001/Source/platform/mac/ScrollAnimatorMac.mm File Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/529103002/diff/40001/Source/platform/mac/ScrollAnimatorMac.mm#newcode299 Source/platform/mac/ScrollAnimatorMac.mm:299: ...
6 years, 3 months ago (2014-09-03 16:51:11 UTC) #6
Ken Russell (switch to Gerrit)
LGTM overall. One issue to be fixed, one question. https://codereview.chromium.org/529103002/diff/80001/Source/platform/mac/ScrollAnimatorMac.mm File Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/529103002/diff/80001/Source/platform/mac/ScrollAnimatorMac.mm#newcode321 Source/platform/mac/ScrollAnimatorMac.mm:321: ...
6 years, 3 months ago (2014-09-03 23:06:49 UTC) #8
Robert Sesek
Thanks! https://codereview.chromium.org/529103002/diff/80001/Source/platform/mac/ScrollAnimatorMac.mm File Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/529103002/diff/80001/Source/platform/mac/ScrollAnimatorMac.mm#newcode321 Source/platform/mac/ScrollAnimatorMac.mm:321: m_startTime = CACurrentMediaTime(); On 2014/09/03 23:06:48, Ken Russell ...
6 years, 3 months ago (2014-09-03 23:25:30 UTC) #9
Ken Russell (switch to Gerrit)
https://codereview.chromium.org/529103002/diff/80001/Source/platform/mac/ScrollAnimatorMac.mm File Source/platform/mac/ScrollAnimatorMac.mm (right): https://codereview.chromium.org/529103002/diff/80001/Source/platform/mac/ScrollAnimatorMac.mm#newcode359 Source/platform/mac/ScrollAnimatorMac.mm:359: CubicBezierTimingFunction* m_timingFunction; On 2014/09/03 23:25:30, rsesek wrote: > On ...
6 years, 3 months ago (2014-09-04 00:56:05 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rsesek@chromium.org/529103002/100001
6 years, 3 months ago (2014-09-04 13:40:12 UTC) #12
commit-bot: I haz the power
6 years, 3 months ago (2014-09-04 18:39:52 UTC) #13
Message was sent while issue was closed.
Committed patchset #4 (id:100001) as 181388

Powered by Google App Engine
This is Rietveld 408576698