OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "config.h" | 5 #include "config.h" |
6 #include "core/animation/Animation.h" | 6 #include "core/animation/Animation.h" |
7 | 7 |
8 #include "bindings/core/v8/Dictionary.h" | 8 #include "bindings/core/v8/Dictionary.h" |
9 #include "bindings/core/v8/UnionTypesCore.h" | 9 #include "bindings/core/v8/UnionTypesCore.h" |
10 #include "bindings/core/v8/V8AnimationTimingProperties.h" | 10 #include "bindings/core/v8/V8AnimationTimingProperties.h" |
11 #include "bindings/core/v8/V8TestingScope.h" | 11 #include "bindings/core/v8/V8BindingForTesting.h" |
12 #include "core/animation/AnimationClock.h" | 12 #include "core/animation/AnimationClock.h" |
13 #include "core/animation/AnimationNodeTiming.h" | 13 #include "core/animation/AnimationNodeTiming.h" |
14 #include "core/animation/AnimationTestHelper.h" | 14 #include "core/animation/AnimationTestHelper.h" |
15 #include "core/animation/AnimationTimeline.h" | 15 #include "core/animation/AnimationTimeline.h" |
16 #include "core/animation/KeyframeEffectModel.h" | 16 #include "core/animation/KeyframeEffectModel.h" |
17 #include "core/animation/Timing.h" | 17 #include "core/animation/Timing.h" |
18 #include "core/dom/Document.h" | 18 #include "core/dom/Document.h" |
19 #include "core/dom/ExceptionCode.h" | 19 #include "core/dom/ExceptionCode.h" |
20 #include "core/testing/DummyPageHolder.h" | 20 #include "core/testing/DummyPageHolder.h" |
21 #include <gtest/gtest.h> | 21 #include <gtest/gtest.h> |
(...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
455 EXPECT_EQ(element.get(), animation->target()); | 455 EXPECT_EQ(element.get(), animation->target()); |
456 document.timeline().play(animation.get()); | 456 document.timeline().play(animation.get()); |
457 pageHolder.clear(); | 457 pageHolder.clear(); |
458 element.clear(); | 458 element.clear(); |
459 #if !ENABLE(OILPAN) | 459 #if !ENABLE(OILPAN) |
460 EXPECT_EQ(0, animation->target()); | 460 EXPECT_EQ(0, animation->target()); |
461 #endif | 461 #endif |
462 } | 462 } |
463 | 463 |
464 } // namespace blink | 464 } // namespace blink |
OLD | NEW |