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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.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/css/resolver/StyleResolverState.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
index 3e9fa789b851abbfc72639f91b3aeb6105d1fff0..2518986039a1d40b44d8fedcb001b760a2a8fa48 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
@@ -100,6 +100,20 @@ class CORE_EXPORT StyleResolverState {
CSSAnimationUpdate& animationUpdate() { return m_animationUpdate; }
+ bool isAnimationInterpolationMapReady() const {
+ return m_isAnimationInterpolationMapReady;
+ }
+ void setIsAnimationInterpolationMapReady() {
+ m_isAnimationInterpolationMapReady = true;
+ }
+
+ bool isAnimatingCustomProperties() const {
+ return m_isAnimatingCustomProperties;
+ }
+ void setIsAnimatingCustomProperties(bool value) {
+ m_isAnimatingCustomProperties = value;
+ }
+
void setParentStyle(PassRefPtr<ComputedStyle> parentStyle) {
m_parentStyle = parentStyle;
}
@@ -201,6 +215,8 @@ class CORE_EXPORT StyleResolverState {
RefPtr<ComputedStyle> m_parentStyle;
CSSAnimationUpdate m_animationUpdate;
+ bool m_isAnimationInterpolationMapReady;
+ bool m_isAnimatingCustomProperties;
bool m_applyPropertyToRegularStyle;
bool m_applyPropertyToVisitedLinkStyle;

Powered by Google App Engine
This is Rietveld 408576698