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

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

Issue 2814523002: Web Animations: Coalesce constructors where possible. (Closed)
Patch Set: Rebase 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/TimingInput.h
diff --git a/third_party/WebKit/Source/core/animation/TimingInput.h b/third_party/WebKit/Source/core/animation/TimingInput.h
index 68629335c6fd770a1da81dc31f7ef2b48791298f..9f1549775ed8f8df14f0f80609b2a4e13aec3ca3 100644
--- a/third_party/WebKit/Source/core/animation/TimingInput.h
+++ b/third_party/WebKit/Source/core/animation/TimingInput.h
@@ -15,11 +15,16 @@ class Document;
class ExceptionState;
class KeyframeEffectOptions;
class UnrestrictedDoubleOrString;
+class UnrestrictedDoubleOrKeyframeEffectOptions;
class CORE_EXPORT TimingInput {
STATIC_ONLY(TimingInput);
public:
+ static bool Convert(const UnrestrictedDoubleOrKeyframeEffectOptions&,
+ Timing& timing_output,
+ Document*,
+ ExceptionState&);
static bool Convert(const KeyframeEffectOptions& timing_input,
Timing& timing_output,
Document*,

Powered by Google App Engine
This is Rietveld 408576698