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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolverState.h

Issue 2309963002: Apply custom property animation (Closed)
Patch Set: Rebase Created 4 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 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..3d540c30f845f70e7ef5aef384fe46dbabc850ef 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
@@ -100,6 +100,13 @@ class CORE_EXPORT StyleResolverState {
CSSAnimationUpdate& animationUpdate() { return m_animationUpdate; }
+ bool isAnimatingCustomProperties() const {
+ return m_isAnimatingCustomProperties;
+ }
+ void setIsAnimatingCustomProperties(bool value) {
+ m_isAnimatingCustomProperties = value;
+ }
+
void setParentStyle(PassRefPtr<ComputedStyle> parentStyle) {
m_parentStyle = parentStyle;
}
@@ -201,6 +208,7 @@ class CORE_EXPORT StyleResolverState {
RefPtr<ComputedStyle> m_parentStyle;
CSSAnimationUpdate m_animationUpdate;
+ bool m_isAnimatingCustomProperties;
bool m_applyPropertyToRegularStyle;
bool m_applyPropertyToVisitedLinkStyle;

Powered by Google App Engine
This is Rietveld 408576698