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

Unified Diff: Source/core/platform/animation/TimingFunction.h

Issue 51943004: Creating a helper class for reversing timing functions. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixing "control reaches end of non-void function" issues. Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/core.gypi ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/platform/animation/TimingFunction.h
diff --git a/Source/core/platform/animation/TimingFunction.h b/Source/core/platform/animation/TimingFunction.h
index 51e4a9e15e0a5344f2f0d8cb4443db0f3f8281e6..db680aef36fe925301e2842ecbd448e57de9658a 100644
--- a/Source/core/platform/animation/TimingFunction.h
+++ b/Source/core/platform/animation/TimingFunction.h
@@ -281,6 +281,9 @@ private:
double m_max;
RefPtr<TimingFunction> m_timingFunction;
+ // Allow the compositor to reverse the timing function.
+ friend class CompositorAnimationsTimingFunctionReverser;
+
// Allow PrintTo/operator== of the segments. Can be removed once
// ChainedTimingFunction has a public API for segments.
friend class ChainedTimingFunctionTestHelper;
@@ -294,6 +297,9 @@ private:
Vector<Segment> m_segments;
+ // Allow the compositor to reverse the timing function.
+ friend class CompositorAnimationsTimingFunctionReverser;
+
// Allow PrintTo/operator== of the segments. Can be removed once
// ChainedTimingFunction has a public API for segments.
friend class ChainedTimingFunctionTestHelper;
« no previous file with comments | « Source/core/core.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698