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

Unified Diff: sky/engine/core/css/CSSProperty.h

Issue 760183003: Enable/Unprefix Animations & Transitions, add basic tests (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: patch for landing Created 6 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
« no previous file with comments | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/css/CSSProperty.h
diff --git a/sky/engine/core/css/CSSProperty.h b/sky/engine/core/css/CSSProperty.h
index 6471e9a123978c138334e9d6d4822a4405e4c8c5..556fd26bcf99de8f311aafae72bbdedcfb0b14f8 100644
--- a/sky/engine/core/css/CSSProperty.h
+++ b/sky/engine/core/css/CSSProperty.h
@@ -87,77 +87,6 @@ private:
RefPtr<CSSValue> m_value;
};
-inline CSSPropertyID prefixingVariantForPropertyId(CSSPropertyID propId)
-{
- if (RuntimeEnabledFeatures::cssAnimationUnprefixedEnabled()) {
- switch (propId) {
- case CSSPropertyAnimation:
- return CSSPropertyWebkitAnimation;
- case CSSPropertyAnimationDelay:
- return CSSPropertyWebkitAnimationDelay;
- case CSSPropertyAnimationDirection:
- return CSSPropertyWebkitAnimationDirection;
- case CSSPropertyAnimationDuration:
- return CSSPropertyWebkitAnimationDuration;
- case CSSPropertyAnimationFillMode:
- return CSSPropertyWebkitAnimationFillMode;
- case CSSPropertyAnimationIterationCount:
- return CSSPropertyWebkitAnimationIterationCount;
- case CSSPropertyAnimationName:
- return CSSPropertyWebkitAnimationName;
- case CSSPropertyAnimationPlayState:
- return CSSPropertyWebkitAnimationPlayState;
- case CSSPropertyAnimationTimingFunction:
- return CSSPropertyWebkitAnimationTimingFunction;
- case CSSPropertyWebkitAnimation:
- return CSSPropertyAnimation;
- case CSSPropertyWebkitAnimationDelay:
- return CSSPropertyAnimationDelay;
- case CSSPropertyWebkitAnimationDirection:
- return CSSPropertyAnimationDirection;
- case CSSPropertyWebkitAnimationDuration:
- return CSSPropertyAnimationDuration;
- case CSSPropertyWebkitAnimationFillMode:
- return CSSPropertyAnimationFillMode;
- case CSSPropertyWebkitAnimationIterationCount:
- return CSSPropertyAnimationIterationCount;
- case CSSPropertyWebkitAnimationName:
- return CSSPropertyAnimationName;
- case CSSPropertyWebkitAnimationPlayState:
- return CSSPropertyAnimationPlayState;
- case CSSPropertyWebkitAnimationTimingFunction:
- return CSSPropertyAnimationTimingFunction;
- default:
- break;
- }
- }
-
- switch (propId) {
- case CSSPropertyTransitionDelay:
- return CSSPropertyWebkitTransitionDelay;
- case CSSPropertyTransitionDuration:
- return CSSPropertyWebkitTransitionDuration;
- case CSSPropertyTransitionProperty:
- return CSSPropertyWebkitTransitionProperty;
- case CSSPropertyTransitionTimingFunction:
- return CSSPropertyWebkitTransitionTimingFunction;
- case CSSPropertyTransition:
- return CSSPropertyWebkitTransition;
- case CSSPropertyWebkitTransitionDelay:
- return CSSPropertyTransitionDelay;
- case CSSPropertyWebkitTransitionDuration:
- return CSSPropertyTransitionDuration;
- case CSSPropertyWebkitTransitionProperty:
- return CSSPropertyTransitionProperty;
- case CSSPropertyWebkitTransitionTimingFunction:
- return CSSPropertyTransitionTimingFunction;
- case CSSPropertyWebkitTransition:
- return CSSPropertyTransition;
- default:
- return propId;
- }
-}
-
} // namespace blink
WTF_ALLOW_MOVE_AND_INIT_WITH_MEM_FUNCTIONS(blink::CSSProperty);
« no previous file with comments | « sky/engine/core/css/CSSProperties.in ('k') | sky/engine/core/css/StylePropertySerializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698