| 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 18 matching lines...) Expand all Loading... |
| 29 #include "platform/animation/UnitBezier.h" | 29 #include "platform/animation/UnitBezier.h" |
| 30 #include "platform/heap/Handle.h" | 30 #include "platform/heap/Handle.h" |
| 31 #include "platform/heap/Heap.h" | 31 #include "platform/heap/Heap.h" |
| 32 #include "wtf/OwnPtr.h" | 32 #include "wtf/OwnPtr.h" |
| 33 #include "wtf/PassOwnPtr.h" | 33 #include "wtf/PassOwnPtr.h" |
| 34 #include "wtf/PassRefPtr.h" | 34 #include "wtf/PassRefPtr.h" |
| 35 #include "wtf/RefCounted.h" | 35 #include "wtf/RefCounted.h" |
| 36 #include "wtf/StdLibExtras.h" | 36 #include "wtf/StdLibExtras.h" |
| 37 #include "wtf/text/StringBuilder.h" | 37 #include "wtf/text/StringBuilder.h" |
| 38 #include "wtf/text/WTFString.h" | 38 #include "wtf/text/WTFString.h" |
| 39 #include <algorithm> | |
| 40 | 39 |
| 41 namespace blink { | 40 namespace blink { |
| 42 | 41 |
| 43 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> { | 42 class PLATFORM_EXPORT TimingFunction : public RefCounted<TimingFunction> { |
| 44 public: | 43 public: |
| 45 | 44 |
| 46 enum Type { | 45 enum Type { |
| 47 LinearFunction, CubicBezierFunction, StepsFunction | 46 LinearFunction, CubicBezierFunction, StepsFunction |
| 48 }; | 47 }; |
| 49 | 48 |
| (...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 267 value->type() == TimingFunction::typeName##Function, \ | 266 value->type() == TimingFunction::typeName##Function, \ |
| 268 value.type() == TimingFunction::typeName##Function) | 267 value.type() == TimingFunction::typeName##Function) |
| 269 | 268 |
| 270 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear); | 269 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Linear); |
| 271 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier); | 270 DEFINE_TIMING_FUNCTION_TYPE_CASTS(CubicBezier); |
| 272 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps); | 271 DEFINE_TIMING_FUNCTION_TYPE_CASTS(Steps); |
| 273 | 272 |
| 274 } // namespace blink | 273 } // namespace blink |
| 275 | 274 |
| 276 #endif // TimingFunction_h | 275 #endif // TimingFunction_h |
| OLD | NEW |