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

Unified Diff: third_party/WebKit/Source/core/animation/css/CSSAnimations.h

Issue 2532953008: Apply custom property animations (Closed)
Patch Set: Make animatedElement usage consistent Created 4 years 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/css/CSSAnimations.h
diff --git a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
index 0c70ea86c3767079061e75b481cbad1891658908..a5a389b422ae7d578d633f6e857b28a88c613bad 100644
--- a/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
+++ b/third_party/WebKit/Source/core/animation/css/CSSAnimations.h
@@ -63,12 +63,20 @@ class CSSAnimations final {
static const StylePropertyShorthand& propertiesForTransitionAll();
static bool isAnimationAffectingProperty(CSSPropertyID);
static bool isAffectedByKeyframesFromScope(const Element&, const TreeScope&);
- static void calculateUpdate(const Element* animatingElement,
- Element&,
- const ComputedStyle&,
- ComputedStyle* parentStyle,
- CSSAnimationUpdate&,
- StyleResolver*);
+ static bool isAnimatingCustomProperties(const ElementAnimations*);
+ static bool isCustomPropertyHandle(const PropertyHandle&);
+ static void calculateAnimationUpdate(CSSAnimationUpdate&,
+ const Element* animatingElement,
+ Element&,
+ const ComputedStyle&,
+ ComputedStyle* parentStyle,
+ StyleResolver*);
+ static void calculateCompositorAndTransitionUpdate(
+ const Element* animatingElement,
+ Element&,
+ const ComputedStyle&,
+ ComputedStyle* parentStyle,
+ CSSAnimationUpdate&);
static void snapshotCompositorKeyframes(Element&,
CSSAnimationUpdate&,
const ComputedStyle&,
@@ -148,12 +156,6 @@ class CSSAnimations final {
Element&,
const ComputedStyle&,
const ComputedStyle* parentStyle);
- static void calculateAnimationUpdate(CSSAnimationUpdate&,
- const Element* animatingElement,
- Element&,
- const ComputedStyle&,
- ComputedStyle* parentStyle,
- StyleResolver*);
static void calculateTransitionUpdate(CSSAnimationUpdate&,
const Element* animatingElement,
const ComputedStyle&);

Powered by Google App Engine
This is Rietveld 408576698