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

Issue 54743002: Adding a reverse function to the TimingFunctions and tests to prove it works. (Closed)

Created:
7 years, 1 month ago by mithro-old
Modified:
7 years, 1 month ago
Reviewers:
Steve Block
CC:
blink-reviews, shans, rjwright, alancutter (OOO until 2018), Mike Lawther (Google), dstockwell, Timothy Loh, darktears, dino_apple.com, Eric Willigers
Base URL:
https://chromium.googlesource.com/chromium/blink.git@timing-function-helper
Visibility:
Public.

Description

Adding a reverse function to the TimingFunctions and tests to prove it works. BUG=

Patch Set 1 #

Total comments: 8

Patch Set 2 : Moved operator== stuff into own patch. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -1 line) Patch
M Source/core/platform/animation/TimingFunction.h View 1 5 chunks +53 lines, -0 lines 0 comments Download
M Source/core/platform/animation/TimingFunctionTest.cpp View 1 2 chunks +55 lines, -1 line 0 comments Download

Messages

Total messages: 8 (0 generated)
mithro-old
Hi Steve, As I was discussing I ended up adding reverse functions to the TimingFunctions. ...
7 years, 1 month ago (2013-10-31 14:30:44 UTC) #1
Steve Block
Can you upload the code that will make use of this? Without seeing it, it's ...
7 years, 1 month ago (2013-11-03 09:52:31 UTC) #2
mithro-old
On 2013/11/03 09:52:31, Steve Block wrote: > Can you upload the code that will make ...
7 years, 1 month ago (2013-11-04 03:29:00 UTC) #3
mithro-old
> https://codereview.chromium.org/54743002/diff/1/Source/core/platform/animation/TimingFunction.h#newcode61 > Source/core/platform/animation/TimingFunction.h:61: virtual > PassRefPtr<TimingFunction> reverse() const = 0; > Can you add ...
7 years, 1 month ago (2013-11-04 03:44:53 UTC) #4
Steve Block
https://codereview.chromium.org/54743002/diff/1/Source/core/platform/animation/TimingFunction.h File Source/core/platform/animation/TimingFunction.h (right): https://codereview.chromium.org/54743002/diff/1/Source/core/platform/animation/TimingFunction.h#newcode297 Source/core/platform/animation/TimingFunction.h:297: return preset(End); > A step-start has output 0 for ...
7 years, 1 month ago (2013-11-04 04:36:07 UTC) #5
Steve Block
https://codereview.chromium.org/54743002/diff/1/Source/core/platform/animation/TimingFunction.h File Source/core/platform/animation/TimingFunction.h (right): https://codereview.chromium.org/54743002/diff/1/Source/core/platform/animation/TimingFunction.h#newcode297 Source/core/platform/animation/TimingFunction.h:297: return preset(End); > If I understand step correctly; > ...
7 years, 1 month ago (2013-11-04 04:40:57 UTC) #6
Steve Block
I definitely prefer putting this reversing logic in a helper class, rather than in TimingFunction, ...
7 years, 1 month ago (2013-11-04 04:44:49 UTC) #7
mithro-old
7 years, 1 month ago (2013-11-04 12:29:48 UTC) #8
On 2013/11/04 04:44:49, Steve Block wrote:
> I definitely prefer putting this reversing logic in a helper class, rather
than
> in TimingFunction, because I think in the future we should be able to improve
> the compositor API so as not to require this reversal at all. I'd still like
to
> see the patch that makes use of the reverse functionality though.

Closing this in favor of https://codereview.chromium.org/51943004/

Powered by Google App Engine
This is Rietveld 408576698