| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2013, Google Inc. All rights reserved. | 2 * Copyright (c) 2013, Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * Redistributions of source code must retain the above copyright |
| 9 * notice, this list of conditions and the following disclaimer. | 9 * notice, this list of conditions and the following disclaimer. |
| 10 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 #include "core/animation/animatable/AnimatableSVGPaint.h" | 44 #include "core/animation/animatable/AnimatableSVGPaint.h" |
| 45 #include "core/animation/animatable/AnimatableShapeValue.h" | 45 #include "core/animation/animatable/AnimatableShapeValue.h" |
| 46 #include "core/animation/animatable/AnimatableStrokeDasharrayList.h" | 46 #include "core/animation/animatable/AnimatableStrokeDasharrayList.h" |
| 47 #include "core/animation/animatable/AnimatableTransform.h" | 47 #include "core/animation/animatable/AnimatableTransform.h" |
| 48 #include "core/animation/animatable/AnimatableUnknown.h" | 48 #include "core/animation/animatable/AnimatableUnknown.h" |
| 49 #include "core/animation/animatable/AnimatableValue.h" | 49 #include "core/animation/animatable/AnimatableValue.h" |
| 50 #include "core/animation/animatable/AnimatableVisibility.h" | 50 #include "core/animation/animatable/AnimatableVisibility.h" |
| 51 | 51 |
| 52 #include "core/css/CSSValueTestHelper.h" | 52 #include "core/css/CSSValueTestHelper.h" |
| 53 | 53 |
| 54 // FIXME: Move to something like core/wtf/WTFTestHelpers.h | |
| 55 // Compares the targets of two RefPtrs for equality. | |
| 56 // (Objects still need an operator== defined for this to work). | |
| 57 #define EXPECT_REFV_EQ(a, b) EXPECT_EQ(*(a.get()), *(b.get())) | |
| 58 | |
| 59 namespace blink { | 54 namespace blink { |
| 60 | 55 |
| 61 bool operator==(const AnimatableValue&, const AnimatableValue&); | 56 bool operator==(const AnimatableValue&, const AnimatableValue&); |
| 62 | 57 |
| 63 void PrintTo(const AnimatableClipPathOperation&, ::std::ostream*); | 58 void PrintTo(const AnimatableClipPathOperation&, ::std::ostream*); |
| 64 void PrintTo(const AnimatableColor&, ::std::ostream*); | 59 void PrintTo(const AnimatableColor&, ::std::ostream*); |
| 65 void PrintTo(const AnimatableImage&, ::std::ostream*); | 60 void PrintTo(const AnimatableImage&, ::std::ostream*); |
| 66 void PrintTo(const AnimatableNeutral&, ::std::ostream*); | 61 void PrintTo(const AnimatableNeutral&, ::std::ostream*); |
| 67 void PrintTo(const AnimatableRepeatable&, ::std::ostream*); | 62 void PrintTo(const AnimatableRepeatable&, ::std::ostream*); |
| 68 void PrintTo(const AnimatableShapeValue&, ::std::ostream*); | 63 void PrintTo(const AnimatableShapeValue&, ::std::ostream*); |
| 69 void PrintTo(const AnimatableStrokeDasharrayList&, ::std::ostream*); | 64 void PrintTo(const AnimatableStrokeDasharrayList&, ::std::ostream*); |
| 70 void PrintTo(const AnimatableTransform&, ::std::ostream*); | 65 void PrintTo(const AnimatableTransform&, ::std::ostream*); |
| 71 void PrintTo(const AnimatableUnknown&, ::std::ostream*); | 66 void PrintTo(const AnimatableUnknown&, ::std::ostream*); |
| 72 void PrintTo(const AnimatableValue&, ::std::ostream*); | 67 void PrintTo(const AnimatableValue&, ::std::ostream*); |
| 73 void PrintTo(const AnimatableVisibility&, ::std::ostream*); | 68 void PrintTo(const AnimatableVisibility&, ::std::ostream*); |
| 74 | 69 |
| 75 } // namespace blink | 70 } // namespace blink |
| 76 | 71 |
| 77 #endif | 72 #endif |
| OLD | NEW |