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

Unified Diff: third_party/WebKit/Source/core/animation/Keyframe.h

Issue 2651553004: Add TransitionKeyframe class for CSS Transition refactor (Closed)
Patch Set: Header Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/animation/Keyframe.h
diff --git a/third_party/WebKit/Source/core/animation/Keyframe.h b/third_party/WebKit/Source/core/animation/Keyframe.h
index 9a70eb90f02d4054b18ed5881fe955618940f3c6..323096f06eb1a2560d2f27764a8af637a4e23754 100644
--- a/third_party/WebKit/Source/core/animation/Keyframe.h
+++ b/third_party/WebKit/Source/core/animation/Keyframe.h
@@ -59,6 +59,7 @@ class CORE_EXPORT Keyframe : public RefCounted<Keyframe> {
virtual bool isAnimatableValueKeyframe() const { return false; }
virtual bool isStringKeyframe() const { return false; }
+ virtual bool isTransitionKeyframe() const { return false; }
// Represents a property-value pair in a keyframe.
class PropertySpecificKeyframe : public RefCounted<PropertySpecificKeyframe> {
@@ -93,6 +94,7 @@ class CORE_EXPORT Keyframe : public RefCounted<Keyframe> {
}
virtual bool isCSSPropertySpecificKeyframe() const { return false; }
virtual bool isSVGPropertySpecificKeyframe() const { return false; }
+ virtual bool isTransitionPropertySpecificKeyframe() const { return false; }
virtual PassRefPtr<PropertySpecificKeyframe> neutralKeyframe(
double offset,
« no previous file with comments | « third_party/WebKit/Source/core/animation/BUILD.gn ('k') | third_party/WebKit/Source/core/animation/TransitionKeyframe.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698