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

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

Issue 2806623003: Implement Animation constructor (Closed)
Patch Set: Update one more webexposed test expectation Created 3 years, 8 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 9ef0b5f6a1339c2c26e7bc38cee388e2f436364f..c05f02477c8d0a8fb8ba130af42a6ab47e35caba 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 Bindings 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