| Index: Source/core/platform/animation/TimingFunction.h
|
| diff --git a/Source/core/platform/animation/TimingFunction.h b/Source/core/platform/animation/TimingFunction.h
|
| index 342925772719f6112f7767545cc02fe44402e40d..e2c33bebe05708b203937a652354886b817b8719 100644
|
| --- a/Source/core/platform/animation/TimingFunction.h
|
| +++ b/Source/core/platform/animation/TimingFunction.h
|
| @@ -35,6 +35,7 @@
|
| #include "wtf/Vector.h"
|
| #include <algorithm>
|
|
|
| +
|
| namespace WebCore {
|
|
|
| class TimingFunction : public RefCounted<TimingFunction> {
|
| @@ -91,6 +92,10 @@ private:
|
| }
|
| };
|
|
|
| +
|
| +// Forward declare so we can friend it below. Don't use in production code!
|
| +class ChainedTimingFunctionPrinter;
|
| +
|
| class CubicBezierTimingFunction : public TimingFunction {
|
| public:
|
| enum SubType {
|
| @@ -311,6 +316,10 @@ private:
|
| double m_min;
|
| double m_max;
|
| RefPtr<TimingFunction> m_timingFunction;
|
| +
|
| + // Allow printing of our segments. Can be removed once
|
| + // ChainedTimingFunction has a public API for segments.
|
| + friend class ChainedTimingFunctionPrinter;
|
| };
|
|
|
| ChainedTimingFunction()
|
| @@ -320,6 +329,10 @@ private:
|
| }
|
|
|
| Vector<Segment> m_segments;
|
| +
|
| + // Allow printing of our segments. Can be removed once
|
| + // ChainedTimingFunction has a public API for segments.
|
| + friend class ChainedTimingFunctionPrinter;
|
| };
|
|
|
| } // namespace WebCore
|
|
|