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

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

Issue 2222313002: Implement DocumentTimeline (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update global-interface-listing-expected.txt Created 4 years, 4 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 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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 "CustomCompositorAnimations.h" 5 #include "CustomCompositorAnimations.h"
6 6
7 #include "core/animation/Animation.h" 7 #include "core/animation/Animation.h"
8 #include "core/animation/AnimationTimeline.h" 8 #include "core/animation/DocumentTimeline.h"
9 #include "core/animation/KeyframeEffect.h" 9 #include "core/animation/KeyframeEffect.h"
10 #include "core/animation/KeyframeEffectModel.h" 10 #include "core/animation/KeyframeEffectModel.h"
11 #include "core/animation/animatable/AnimatableDouble.h" 11 #include "core/animation/animatable/AnimatableDouble.h"
12 #include "core/animation/animatable/AnimatableTransform.h" 12 #include "core/animation/animatable/AnimatableTransform.h"
13 #include "core/animation/animatable/AnimatableValue.h" 13 #include "core/animation/animatable/AnimatableValue.h"
14 #include "platform/TraceEvent.h" 14 #include "platform/TraceEvent.h"
15 #include "platform/graphics/CompositorMutation.h" 15 #include "platform/graphics/CompositorMutation.h"
16 #include "platform/transforms/Matrix3DTransformOperation.h" 16 #include "platform/transforms/Matrix3DTransformOperation.h"
17 #include "platform/transforms/MatrixTransformOperation.h" 17 #include "platform/transforms/MatrixTransformOperation.h"
18 #include "platform/transforms/TransformOperations.h" 18 #include "platform/transforms/TransformOperations.h"
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 } 79 }
80 if (mutation.isTransformMutated()) { 80 if (mutation.isTransformMutated()) {
81 TransformOperations ops; 81 TransformOperations ops;
82 ops.operations().append(Matrix3DTransformOperation::create(Transformatio nMatrix(mutation.transform()))); 82 ops.operations().append(Matrix3DTransformOperation::create(Transformatio nMatrix(mutation.transform())));
83 RefPtr<AnimatableValue> animatableValue = AnimatableTransform::create(op s, 1); 83 RefPtr<AnimatableValue> animatableValue = AnimatableTransform::create(op s, 1);
84 m_animation = createOrUpdateAnimation(m_animation, element, CSSPropertyT ransform, animatableValue.release()); 84 m_animation = createOrUpdateAnimation(m_animation, element, CSSPropertyT ransform, animatableValue.release());
85 } 85 }
86 } 86 }
87 87
88 } // namespace blink 88 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698