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 19 matching lines...) Expand all Loading... |
30 | 30 |
31 #include "config.h" | 31 #include "config.h" |
32 | 32 |
33 #include "core/animation/CompositorAnimations.h" | 33 #include "core/animation/CompositorAnimations.h" |
34 | 34 |
35 #include "core/animation/AnimatableDouble.h" | 35 #include "core/animation/AnimatableDouble.h" |
36 #include "core/animation/AnimatableTransform.h" | 36 #include "core/animation/AnimatableTransform.h" |
37 #include "core/animation/AnimatableValueTestHelper.h" | 37 #include "core/animation/AnimatableValueTestHelper.h" |
38 #include "core/animation/CompositorAnimationsImpl.h" | 38 #include "core/animation/CompositorAnimationsImpl.h" |
39 #include "core/animation/CompositorAnimationsTestHelper.h" | 39 #include "core/animation/CompositorAnimationsTestHelper.h" |
40 #include "core/platform/animation/TimingFunctionTestHelper.h" | |
41 #include "core/platform/graphics/filters/FilterOperations.h" | 40 #include "core/platform/graphics/filters/FilterOperations.h" |
| 41 #include "platform/animation/TimingFunctionTestHelper.h" |
42 #include "platform/geometry/IntSize.h" | 42 #include "platform/geometry/IntSize.h" |
43 #include "platform/transforms/TransformOperations.h" | 43 #include "platform/transforms/TransformOperations.h" |
44 #include "platform/transforms/TranslateTransformOperation.h" | 44 #include "platform/transforms/TranslateTransformOperation.h" |
45 #include "public/platform/WebAnimation.h" | 45 #include "public/platform/WebAnimation.h" |
46 #include "wtf/OwnPtr.h" | 46 #include "wtf/OwnPtr.h" |
47 #include "wtf/PassOwnPtr.h" | 47 #include "wtf/PassOwnPtr.h" |
48 #include "wtf/PassRefPtr.h" | 48 #include "wtf/PassRefPtr.h" |
49 #include "wtf/RefPtr.h" | 49 #include "wtf/RefPtr.h" |
50 | 50 |
51 #include <gmock/gmock.h> | 51 #include <gmock/gmock.h> |
(...skipping 877 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 | 929 |
930 // Go! | 930 // Go! |
931 setCompositorForTesting(mockCompositor); | 931 setCompositorForTesting(mockCompositor); |
932 Vector<OwnPtr<blink::WebAnimation> > result; | 932 Vector<OwnPtr<blink::WebAnimation> > result; |
933 getCompositorAnimations(m_timing, *effect.get(), result); | 933 getCompositorAnimations(m_timing, *effect.get(), result); |
934 EXPECT_EQ(1U, result.size()); | 934 EXPECT_EQ(1U, result.size()); |
935 result[0].clear(); | 935 result[0].clear(); |
936 } | 936 } |
937 | 937 |
938 } // namespace WebCore | 938 } // namespace WebCore |
OLD | NEW |