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

Side by Side Diff: third_party/WebKit/Source/core/animation/DeferredLegacyStyleInterpolation.h

Issue 2043273002: Defer compositor keyframe snapshots until the next style resolve (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 5 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef DeferredLegacyStyleInterpolation_h
6 #define DeferredLegacyStyleInterpolation_h
7
8 #include "core/CoreExport.h"
9 #include "wtf/Allocator.h"
10
11 namespace blink {
12
13 class CSSBasicShapeCircleValue;
14 class CSSBasicShapeEllipseValue;
15 class CSSBasicShapePolygonValue;
16 class CSSBasicShapeInsetValue;
17 class CSSImageValue;
18 class CSSPrimitiveValue;
19 class CSSQuadValue;
20 class CSSShadowValue;
21 class CSSSVGDocumentValue;
22 class CSSValue;
23 class CSSValueList;
24 class CSSValuePair;
25
26 // TODO(alancutter): Remove this once compositor keyframes are no longer snapsho t during EffectInput::convert().
27 class CORE_EXPORT DeferredLegacyStyleInterpolation {
28 public:
29 STATIC_ONLY(DeferredLegacyStyleInterpolation);
30 static bool interpolationRequiresStyleResolve(const CSSValue&);
31 static bool interpolationRequiresStyleResolve(const CSSPrimitiveValue&);
32 static bool interpolationRequiresStyleResolve(const CSSImageValue&);
33 static bool interpolationRequiresStyleResolve(const CSSShadowValue&);
34 static bool interpolationRequiresStyleResolve(const CSSSVGDocumentValue&);
35 static bool interpolationRequiresStyleResolve(const CSSValueList&);
36 static bool interpolationRequiresStyleResolve(const CSSValuePair&);
37 static bool interpolationRequiresStyleResolve(const CSSBasicShapeCircleValue &);
38 static bool interpolationRequiresStyleResolve(const CSSBasicShapeEllipseValu e&);
39 static bool interpolationRequiresStyleResolve(const CSSBasicShapePolygonValu e&);
40 static bool interpolationRequiresStyleResolve(const CSSBasicShapeInsetValue& );
41 static bool interpolationRequiresStyleResolve(const CSSQuadValue&);
42 };
43
44 } // namespace blink
45
46 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698