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

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

Issue 1720403002: Alternative syntax for element.animate list of keyframes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@animations-keyframeeffect-api
Patch Set: Fill in error message strings Created 4 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/EffectInput.h
diff --git a/third_party/WebKit/Source/core/animation/EffectInput.h b/third_party/WebKit/Source/core/animation/EffectInput.h
index 4d80d5f0d2b83c970344b4adcc0f141368baf593..62cfedb3136e62010c17579970cc4f5e153cea8d 100644
--- a/third_party/WebKit/Source/core/animation/EffectInput.h
+++ b/third_party/WebKit/Source/core/animation/EffectInput.h
@@ -17,6 +17,7 @@ class EffectModelOrDictionarySequenceOrDictionary;
class Dictionary;
class Element;
class ExceptionState;
+class StringKeyframe;
class CORE_EXPORT EffectInput {
STATIC_ONLY(EffectInput);
@@ -26,6 +27,11 @@ public:
private:
static EffectModel* convert(Element*, const Vector<Dictionary>& keyframeDictionaryVector, ExceptionState&);
+ static EffectModel* convert(Element*, const Dictionary& keyframeDictionary, ExceptionState&);
+
+ static bool setKeyframeValue(Element*, StringKeyframe*, const String& property, const String& value);
alancutter (OOO until 2018) 2016/02/24 08:50:02 Add comment for what the return value means.
suzyh_UTC10 (ex-contributor) 2016/02/25 02:42:36 Done.
+ static void updateElementStyleIfNeeded(Element*, bool encounteredCompositableProperty);
+ static EffectModel* createEffectModelFromKeyframes(Element*, const Vector<RefPtr<StringKeyframe>>& keyframes, ExceptionState&);
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698