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

Side by Side Diff: Source/core/platform/animation/AnimationTranslationUtil.cpp

Issue 25494003: Move geometry classes from core/platform/graphics to platform/geometry (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Google Inc. All rights reserved. 2 * Copyright (C) 2012 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 11 matching lines...) Expand all
22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 22 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
23 */ 23 */
24 24
25 #include "config.h" 25 #include "config.h"
26 26
27 #include "core/platform/animation/AnimationTranslationUtil.h" 27 #include "core/platform/animation/AnimationTranslationUtil.h"
28 28
29 #include "core/css/LengthFunctions.h" 29 #include "core/css/LengthFunctions.h"
30 #include "core/platform/animation/CSSAnimationData.h" 30 #include "core/platform/animation/CSSAnimationData.h"
31 #include "core/platform/animation/KeyframeValueList.h" 31 #include "core/platform/animation/KeyframeValueList.h"
32 #include "core/platform/graphics/FloatSize.h"
33 #include "core/platform/graphics/chromium/TransformSkMatrix44Conversions.h" 32 #include "core/platform/graphics/chromium/TransformSkMatrix44Conversions.h"
34 #include "core/platform/graphics/transforms/InterpolatedTransformOperation.h" 33 #include "core/platform/graphics/transforms/InterpolatedTransformOperation.h"
35 #include "core/platform/graphics/transforms/Matrix3DTransformOperation.h" 34 #include "core/platform/graphics/transforms/Matrix3DTransformOperation.h"
36 #include "core/platform/graphics/transforms/MatrixTransformOperation.h" 35 #include "core/platform/graphics/transforms/MatrixTransformOperation.h"
37 #include "core/platform/graphics/transforms/PerspectiveTransformOperation.h" 36 #include "core/platform/graphics/transforms/PerspectiveTransformOperation.h"
38 #include "core/platform/graphics/transforms/RotateTransformOperation.h" 37 #include "core/platform/graphics/transforms/RotateTransformOperation.h"
39 #include "core/platform/graphics/transforms/ScaleTransformOperation.h" 38 #include "core/platform/graphics/transforms/ScaleTransformOperation.h"
40 #include "core/platform/graphics/transforms/SkewTransformOperation.h" 39 #include "core/platform/graphics/transforms/SkewTransformOperation.h"
41 #include "core/platform/graphics/transforms/TransformOperations.h" 40 #include "core/platform/graphics/transforms/TransformOperations.h"
42 #include "core/platform/graphics/transforms/TranslateTransformOperation.h" 41 #include "core/platform/graphics/transforms/TranslateTransformOperation.h"
42 #include "platform/geometry/FloatSize.h"
43 43
44 #include "public/platform/Platform.h" 44 #include "public/platform/Platform.h"
45 #include "public/platform/WebAnimation.h" 45 #include "public/platform/WebAnimation.h"
46 #include "public/platform/WebAnimationCurve.h" 46 #include "public/platform/WebAnimationCurve.h"
47 #include "public/platform/WebCompositorSupport.h" 47 #include "public/platform/WebCompositorSupport.h"
48 #include "public/platform/WebFloatAnimationCurve.h" 48 #include "public/platform/WebFloatAnimationCurve.h"
49 #include "public/platform/WebTransformAnimationCurve.h" 49 #include "public/platform/WebTransformAnimationCurve.h"
50 #include "public/platform/WebTransformOperations.h" 50 #include "public/platform/WebTransformOperations.h"
51 51
52 #include "wtf/OwnPtr.h" 52 #include "wtf/OwnPtr.h"
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
294 294
295 if (values.property() == AnimatedPropertyOpacity) { 295 if (values.property() == AnimatedPropertyOpacity) {
296 OwnPtr<WebFloatAnimationCurve> curve = adoptPtr(Platform::current()->com positorSupport()->createFloatAnimationCurve()); 296 OwnPtr<WebFloatAnimationCurve> curve = adoptPtr(Platform::current()->com positorSupport()->createFloatAnimationCurve());
297 return createWebAnimation<FloatAnimationValue, WebFloatKeyframe, WebFloa tAnimationCurve>(values, animation, animationId, timeOffset, curve.get(), WebKit ::WebAnimation::TargetPropertyOpacity, FloatSize()); 297 return createWebAnimation<FloatAnimationValue, WebFloatKeyframe, WebFloa tAnimationCurve>(values, animation, animationId, timeOffset, curve.get(), WebKit ::WebAnimation::TargetPropertyOpacity, FloatSize());
298 } 298 }
299 299
300 return nullptr; 300 return nullptr;
301 } 301 }
302 302
303 } // namespace WebCore 303 } // namespace WebCore
OLDNEW
« no previous file with comments | « Source/core/platform/Widget.cpp ('k') | Source/core/platform/animation/AnimationTranslationUtilTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698