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

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

Issue 2806623003: Implement Animation constructor (Closed)
Patch Set: Add back in DCHECK about flag being enabled Created 3 years, 6 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/Animation.h
diff --git a/third_party/WebKit/Source/core/animation/Animation.h b/third_party/WebKit/Source/core/animation/Animation.h
index d95c92a032f267b10d80f0007e69fbeff5bc4b2f..26360fa18f5fa14b0e512da0048a1f3c35f3122d 100644
--- a/third_party/WebKit/Source/core/animation/Animation.h
+++ b/third_party/WebKit/Source/core/animation/Animation.h
@@ -75,6 +75,16 @@ class CORE_EXPORT Animation final : public EventTargetWithInlineData,
};
static Animation* Create(AnimationEffectReadOnly*, AnimationTimeline*);
+
+ // Web Animations API IDL constructors.
+ static Animation* Create(ExecutionContext*,
+ AnimationEffectReadOnly*,
+ ExceptionState&);
+ static Animation* Create(ExecutionContext*,
+ AnimationEffectReadOnly*,
+ AnimationTimeline*,
+ ExceptionState&);
+
~Animation();
void Dispose();

Powered by Google App Engine
This is Rietveld 408576698