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

Side by Side Diff: sky/engine/core/animation/DeferredLegacyStyleInterpolation.cpp

Issue 746023002: Make absolute and sort all Sky headers (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 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 "sky/engine/config.h"
6 #include "core/animation/DeferredLegacyStyleInterpolation.h" 6 #include "sky/engine/core/animation/DeferredLegacyStyleInterpolation.h"
7 7
8 #include "core/animation/LegacyStyleInterpolation.h" 8 #include "sky/engine/core/animation/LegacyStyleInterpolation.h"
9 #include "core/css/CSSImageValue.h" 9 #include "sky/engine/core/css/CSSImageValue.h"
10 #include "core/css/CSSPrimitiveValue.h" 10 #include "sky/engine/core/css/CSSPrimitiveValue.h"
11 #include "core/css/CSSShadowValue.h" 11 #include "sky/engine/core/css/CSSShadowValue.h"
12 #include "core/css/CSSValueList.h" 12 #include "sky/engine/core/css/CSSValueList.h"
13 #include "core/css/Pair.h" 13 #include "sky/engine/core/css/Pair.h"
14 #include "core/css/Rect.h" 14 #include "sky/engine/core/css/Rect.h"
15 #include "core/css/resolver/StyleResolver.h" 15 #include "sky/engine/core/css/resolver/StyleResolver.h"
16 #include "core/css/resolver/StyleResolverState.h" 16 #include "sky/engine/core/css/resolver/StyleResolverState.h"
17 17
18 namespace blink { 18 namespace blink {
19 19
20 void DeferredLegacyStyleInterpolation::apply(StyleResolverState& state) const 20 void DeferredLegacyStyleInterpolation::apply(StyleResolverState& state) const
21 { 21 {
22 RefPtr<LegacyStyleInterpolation> innerInterpolation = LegacyStyleInterpolati on::create( 22 RefPtr<LegacyStyleInterpolation> innerInterpolation = LegacyStyleInterpolati on::create(
23 StyleResolver::createAnimatableValueSnapshot(state, m_id, *m_startCSSVal ue), 23 StyleResolver::createAnimatableValueSnapshot(state, m_id, *m_startCSSVal ue),
24 StyleResolver::createAnimatableValueSnapshot(state, m_id, *m_endCSSValue ), 24 StyleResolver::createAnimatableValueSnapshot(state, m_id, *m_endCSSValue ),
25 m_id); 25 m_id);
26 innerInterpolation->interpolate(m_cachedIteration, m_cachedFraction); 26 innerInterpolation->interpolate(m_cachedIteration, m_cachedFraction);
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 return false; 124 return false;
125 } 125 }
126 126
127 bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C SSBasicShape& shape) 127 bool DeferredLegacyStyleInterpolation::interpolationRequiresStyleResolve(const C SSBasicShape& shape)
128 { 128 {
129 // FIXME: Should determine the specific shape, and inspect the members. 129 // FIXME: Should determine the specific shape, and inspect the members.
130 return false; 130 return false;
131 } 131 }
132 132
133 } 133 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698