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

Issue 369793003: Make the web-animations engine use the passed in blink::WebFrameTime values. (Closed)

Created:
6 years, 5 months ago by mithro-old
Modified:
6 years, 4 months ago
Reviewers:
dstockwell, eseidel, jamesr
CC:
blink-reviews, shans, eae+blinkwatch, fs, kouhei+svg_chromium.org, rwlbuis, krit, blink-reviews-dom_chromium.org, Timothy Loh, abarth-chromium, dstockwell, dglazkov+blink, pdr., Eric Willigers, Steve Block, rjwright, sof, gyuyoung.kim_webkit.org, darktears, blink-reviews-animation_chromium.org, Mike Lawther (Google), ed+blinkwatch_opera.com, f(malita), Stephen Chennney
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Project:
blink
Visibility:
Public.

Description

Make the web-animations engine use the passed in blink::WebFrameTime values. BUG=346230

Patch Set 1 : Base patch. #

Patch Set 2 : Patch to run on try bots. #

Total comments: 8

Patch Set 3 : Trying to fix Eric's issues. #

Patch Set 4 : [DO NOT REVIEW] Upload only for try bots. #

Total comments: 2

Patch Set 5 : [DO NOT REVIEW] Upload only for try bots. #

Patch Set 6 : Trying an Undefined() method inside WebFrameTime.h #

Patch Set 7 : Fixing the tests under the release build. #

Total comments: 2

Patch Set 8 : [DO NOT REIVEW] Upload only for try bots. #

Patch Set 9 : Fixing remaining usages of -1 in the code. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+151 lines, -123 lines) Patch
M Source/core/animation/AnimationClock.h View 1 2 3 4 5 6 7 2 chunks +12 lines, -11 lines 0 comments Download
M Source/core/animation/AnimationClock.cpp View 1 2 3 4 5 6 7 1 chunk +50 lines, -26 lines 0 comments Download
M Source/core/animation/AnimationClockTest.cpp View 1 2 3 4 5 6 7 1 chunk +25 lines, -53 lines 0 comments Download
M Source/core/animation/AnimationPlayerTest.cpp View 1 2 3 4 5 6 7 3 chunks +4 lines, -3 lines 0 comments Download
M Source/core/animation/AnimationStackTest.cpp View 1 2 3 4 5 6 7 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/animation/AnimationTest.cpp View 1 2 3 4 5 6 7 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/animation/AnimationTimelineTest.cpp View 1 2 3 4 5 6 7 3 chunks +5 lines, -4 lines 0 comments Download
M Source/core/animation/DocumentAnimations.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/animation/DocumentAnimations.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/Document.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/dom/Document.cpp View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/dom/ScriptedAnimationController.h View 3 chunks +3 lines, -2 lines 0 comments Download
M Source/core/dom/ScriptedAnimationController.cpp View 3 chunks +5 lines, -5 lines 0 comments Download
M Source/core/page/PageAnimator.h View 2 chunks +3 lines, -1 line 0 comments Download
M Source/core/page/PageAnimator.cpp View 4 chunks +5 lines, -4 lines 0 comments Download
M Source/core/svg/SVGDocumentExtensions.h View 2 chunks +2 lines, -1 line 0 comments Download
M Source/core/svg/SVGDocumentExtensions.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M Source/core/svg/graphics/SVGImageChromeClient.cpp View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download
M Source/web/PageWidgetDelegate.cpp View 2 4 5 8 1 chunk +1 line, -1 line 0 comments Download
M public/platform/WebFrameTime.h View 1 2 3 4 5 6 7 8 2 chunks +18 lines, -0 lines 0 comments Download

Messages

Total messages: 17 (0 generated)
mithro-old
Make sure you look at patchset-1 (rather than patchset-2 which includes the base patch needed ...
6 years, 5 months ago (2014-07-07 05:11:44 UTC) #1
eseidel
not lgtm. the -1 magic numbers everywhere make this unreadable. I gave up a few ...
6 years, 5 months ago (2014-07-07 16:31:50 UTC) #2
mithro-old
Please look at the 3th patchset --> https://codereview.chromium.org/369793003/#ps60001 , not the 4th (which contains the ...
6 years, 5 months ago (2014-07-07 17:47:16 UTC) #3
eseidel
https://codereview.chromium.org/369793003/diff/80001/Source/core/animation/AnimationClock.h File Source/core/animation/AnimationClock.h (right): https://codereview.chromium.org/369793003/diff/80001/Source/core/animation/AnimationClock.h#newcode45 Source/core/animation/AnimationClock.h:45: : m_frameTime(blink::WebFrameTime::CreateNull()) Blink API is in Blink style, so ...
6 years, 5 months ago (2014-07-07 19:31:16 UTC) #4
mithro-old
Is that any better? I'm 100% happy to do what ever you think is the ...
6 years, 5 months ago (2014-07-08 04:28:30 UTC) #5
eseidel
Sorry, I shoudl have been more clear. CreateNull() was only wrong in casing. My understanding ...
6 years, 5 months ago (2014-07-08 04:34:31 UTC) #6
mithro-old
On 2014/07/08 04:34:31, eseidel wrote: > Sorry, I shoudl have been more clear. CreateNull() was ...
6 years, 5 months ago (2014-07-08 04:40:58 UTC) #7
eseidel
I'm not opposed to this change. In fact, I strongly support the concept. I think ...
6 years, 5 months ago (2014-07-08 04:50:56 UTC) #8
eseidel
bah. silly regexp. lgtm per above.
6 years, 5 months ago (2014-07-08 04:51:19 UTC) #9
jamesr
This appears to use a different value for the animation engine and the value passed ...
6 years, 5 months ago (2014-07-08 04:59:38 UTC) #10
jamesr
https://codereview.chromium.org/369793003/diff/160001/Source/core/animation/AnimationClock.cpp File Source/core/animation/AnimationClock.cpp (right): https://codereview.chromium.org/369793003/diff/160001/Source/core/animation/AnimationClock.cpp#newcode62 Source/core/animation/AnimationClock.cpp:62: return m_frameTime.displayFrameTime; in particular this value... https://codereview.chromium.org/369793003/diff/160001/Source/core/dom/ScriptedAnimationController.cpp File Source/core/dom/ScriptedAnimationController.cpp ...
6 years, 5 months ago (2014-07-08 05:00:35 UTC) #11
mithro-old
On 2014/07/08 04:59:38, jamesr wrote: > This appears to use a different value for the ...
6 years, 5 months ago (2014-07-08 05:31:28 UTC) #12
jamesr
That's all fine, but changing behavior away from what the spec currently says requires at ...
6 years, 5 months ago (2014-07-08 05:33:22 UTC) #13
mithro-old
On 2014/07/08 05:33:22, jamesr wrote: > That's all fine, but changing behavior away from what ...
6 years, 5 months ago (2014-07-08 05:37:09 UTC) #14
jamesr
On 2014/07/08 05:37:09, mithro wrote: > On 2014/07/08 05:33:22, jamesr wrote: > > That's all ...
6 years, 5 months ago (2014-07-08 05:38:00 UTC) #15
mithro-old
On 2014/07/08 05:38:00, jamesr wrote: > On 2014/07/08 05:37:09, mithro wrote: > > On 2014/07/08 ...
6 years, 5 months ago (2014-07-08 05:42:28 UTC) #16
mithro-old
6 years, 5 months ago (2014-07-08 23:59:17 UTC) #17
Hi James,

Lets defer more discussion on this CL until after no meeting week when we can
schedule a VC meeting to discuss this issue further. What time is good for you
next week?

Tim

Powered by Google App Engine
This is Rietveld 408576698