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

Side by Side Diff: third_party/WebKit/Source/core/animation/CompositorAnimationsTest.cpp

Issue 2798393005: Rewrite references to "wtf/" to "platform/wtf/" in core/animation. (Closed)
Patch Set: Created 3 years, 8 months 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 unified diff | Download patch
OLDNEW
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 12 matching lines...) Expand all
23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 23 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 24 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 25 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 26 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 27 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31 #include "core/animation/CompositorAnimations.h" 31 #include "core/animation/CompositorAnimations.h"
32 32
33 #include <memory>
33 #include "core/animation/Animation.h" 34 #include "core/animation/Animation.h"
34 #include "core/animation/AnimationTimeline.h" 35 #include "core/animation/AnimationTimeline.h"
35 #include "core/animation/CompositorPendingAnimations.h" 36 #include "core/animation/CompositorPendingAnimations.h"
36 #include "core/animation/ElementAnimations.h" 37 #include "core/animation/ElementAnimations.h"
37 #include "core/animation/KeyframeEffect.h" 38 #include "core/animation/KeyframeEffect.h"
38 #include "core/animation/animatable/AnimatableDouble.h" 39 #include "core/animation/animatable/AnimatableDouble.h"
39 #include "core/animation/animatable/AnimatableFilterOperations.h" 40 #include "core/animation/animatable/AnimatableFilterOperations.h"
40 #include "core/animation/animatable/AnimatableTransform.h" 41 #include "core/animation/animatable/AnimatableTransform.h"
41 #include "core/dom/Document.h" 42 #include "core/dom/Document.h"
42 #include "core/layout/LayoutObject.h" 43 #include "core/layout/LayoutObject.h"
43 #include "core/paint/ObjectPaintProperties.h" 44 #include "core/paint/ObjectPaintProperties.h"
44 #include "core/style/FilterOperations.h" 45 #include "core/style/FilterOperations.h"
45 #include "core/testing/DummyPageHolder.h" 46 #include "core/testing/DummyPageHolder.h"
46 #include "platform/animation/CompositorAnimation.h" 47 #include "platform/animation/CompositorAnimation.h"
47 #include "platform/animation/CompositorFloatAnimationCurve.h" 48 #include "platform/animation/CompositorFloatAnimationCurve.h"
48 #include "platform/animation/CompositorFloatKeyframe.h" 49 #include "platform/animation/CompositorFloatKeyframe.h"
49 #include "platform/geometry/FloatBox.h" 50 #include "platform/geometry/FloatBox.h"
50 #include "platform/geometry/IntSize.h" 51 #include "platform/geometry/IntSize.h"
51 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h" 52 #include "platform/testing/RuntimeEnabledFeaturesTestHelpers.h"
52 #include "platform/transforms/TransformOperations.h" 53 #include "platform/transforms/TransformOperations.h"
53 #include "platform/transforms/TranslateTransformOperation.h" 54 #include "platform/transforms/TranslateTransformOperation.h"
55 #include "platform/wtf/HashFunctions.h"
56 #include "platform/wtf/PassRefPtr.h"
57 #include "platform/wtf/PtrUtil.h"
58 #include "platform/wtf/RefPtr.h"
54 #include "testing/gtest/include/gtest/gtest.h" 59 #include "testing/gtest/include/gtest/gtest.h"
55 #include "wtf/HashFunctions.h"
56 #include "wtf/PassRefPtr.h"
57 #include "wtf/PtrUtil.h"
58 #include "wtf/RefPtr.h"
59 #include <memory>
60 60
61 namespace blink { 61 namespace blink {
62 62
63 class AnimationCompositorAnimationsTest : public ::testing::Test { 63 class AnimationCompositorAnimationsTest : public ::testing::Test {
64 protected: 64 protected:
65 RefPtr<TimingFunction> m_linearTimingFunction; 65 RefPtr<TimingFunction> m_linearTimingFunction;
66 RefPtr<TimingFunction> m_cubicEaseTimingFunction; 66 RefPtr<TimingFunction> m_cubicEaseTimingFunction;
67 RefPtr<TimingFunction> m_cubicCustomTimingFunction; 67 RefPtr<TimingFunction> m_cubicCustomTimingFunction;
68 RefPtr<TimingFunction> m_stepTimingFunction; 68 RefPtr<TimingFunction> m_stepTimingFunction;
69 69
(...skipping 1227 matching lines...) Expand 10 before | Expand all | Expand 10 after
1297 1297
1298 // Clearing the effect node entirely should also produce false. 1298 // Clearing the effect node entirely should also produce false.
1299 properties.clearEffect(); 1299 properties.clearEffect();
1300 EXPECT_FALSE(CompositorAnimations::canStartAnimationOnCompositor(*element)); 1300 EXPECT_FALSE(CompositorAnimations::canStartAnimationOnCompositor(*element));
1301 1301
1302 element->setLayoutObject(nullptr); 1302 element->setLayoutObject(nullptr);
1303 LayoutObjectProxy::dispose(layoutObject); 1303 LayoutObjectProxy::dispose(layoutObject);
1304 } 1304 }
1305 1305
1306 } // namespace blink 1306 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698