| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2  * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 
| 3  *           (C) 2000 Antti Koivisto (koivisto@kde.org) | 3  *           (C) 2000 Antti Koivisto (koivisto@kde.org) | 
| 4  *           (C) 2000 Dirk Mueller (mueller@kde.org) | 4  *           (C) 2000 Dirk Mueller (mueller@kde.org) | 
| 5  * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 5  * Copyright (C) 2003, 2005, 2006, 2007, 2008 Apple Inc. All rights reserved. | 
| 6  * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6  * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 
| 7  * | 7  * | 
| 8  * This library is free software; you can redistribute it and/or | 8  * This library is free software; you can redistribute it and/or | 
| 9  * modify it under the terms of the GNU Library General Public | 9  * modify it under the terms of the GNU Library General Public | 
| 10  * License as published by the Free Software Foundation; either | 10  * License as published by the Free Software Foundation; either | 
| (...skipping 14 matching lines...) Expand all  Loading... | 
| 25 #ifndef TimingFunction_h | 25 #ifndef TimingFunction_h | 
| 26 #define TimingFunction_h | 26 #define TimingFunction_h | 
| 27 | 27 | 
| 28 #include "platform/animation/AnimationUtilities.h" // For blend() | 28 #include "platform/animation/AnimationUtilities.h" // For blend() | 
| 29 #include "platform/animation/UnitBezier.h" | 29 #include "platform/animation/UnitBezier.h" | 
| 30 #include "wtf/OwnPtr.h" | 30 #include "wtf/OwnPtr.h" | 
| 31 #include "wtf/PassOwnPtr.h" | 31 #include "wtf/PassOwnPtr.h" | 
| 32 #include "wtf/PassRefPtr.h" | 32 #include "wtf/PassRefPtr.h" | 
| 33 #include "wtf/RefCounted.h" | 33 #include "wtf/RefCounted.h" | 
| 34 #include "wtf/StdLibExtras.h" | 34 #include "wtf/StdLibExtras.h" | 
| 35 #include "wtf/Vector.h" |  | 
| 36 #include "wtf/text/StringBuilder.h" | 35 #include "wtf/text/StringBuilder.h" | 
| 37 #include "wtf/text/WTFString.h" | 36 #include "wtf/text/WTFString.h" | 
| 38 #include <algorithm> | 37 #include <algorithm> | 
| 39 | 38 | 
| 40 namespace blink { | 39 namespace blink { | 
| 41 | 40 | 
| 42 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> { | 41 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> { | 
| 43 public: | 42 public: | 
| 44 | 43 | 
| 45     enum Type { | 44     enum Type { | 
| (...skipping 207 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 253         value->type() == TimingFunction::typeName##Function, \ | 252         value->type() == TimingFunction::typeName##Function, \ | 
| 254         value.type() == TimingFunction::typeName##Function) | 253         value.type() == TimingFunction::typeName##Function) | 
| 255 | 254 | 
| 256 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear); | 255 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear); | 
| 257 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier); | 256 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier); | 
| 258 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps); | 257 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps); | 
| 259 | 258 | 
| 260 } // namespace blink | 259 } // namespace blink | 
| 261 | 260 | 
| 262 #endif // TimingFunction_h | 261 #endif // TimingFunction_h | 
| OLD | NEW | 
|---|