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

Unified Diff: Source/core/frame/DOMWindowTimers.h

Issue 721033004: Implement WindowTimers.set{Timeout,Interval} without [Custom] (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@idl-overload-with-variadic
Patch Set: rebased Created 6 years, 1 month 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: Source/core/frame/DOMWindowTimers.h
diff --git a/Source/core/frame/DOMWindowTimers.h b/Source/core/frame/DOMWindowTimers.h
index b7726ddf41d65fbe83fb78163425ff1c16981976..2b7d384ea495f18dc016d1773dfd2bce1e9d91b3 100644
--- a/Source/core/frame/DOMWindowTimers.h
+++ b/Source/core/frame/DOMWindowTimers.h
@@ -34,15 +34,19 @@
#define DOMWindowTimers_h
#include "wtf/Forward.h"
+#include "wtf/Vector.h"
namespace blink {
class EventTarget;
-class ScheduledAction;
+class ScriptState;
+class ScriptValue;
namespace DOMWindowTimers {
-int setTimeout(EventTarget&, PassOwnPtr<ScheduledAction>, int timeout);
-int setInterval(EventTarget&, PassOwnPtr<ScheduledAction>, int timeout);
+int setTimeout(ScriptState*, EventTarget&, const ScriptValue&, int timeout, const Vector<ScriptValue>&);
+int setTimeout(ScriptState*, EventTarget&, String, int timeout, const Vector<ScriptValue>&);
Yuta Kitamura 2014/11/14 08:24:06 String -> const String& ? Also some parameter nam
Jens Widell 2014/11/14 10:19:27 Done.
+int setInterval(ScriptState*, EventTarget&, const ScriptValue&, int timeout, const Vector<ScriptValue>&);
+int setInterval(ScriptState*, EventTarget&, String, int timeout, const Vector<ScriptValue>&);
void clearTimeout(EventTarget&, int timeoutId);
void clearInterval(EventTarget&, int timeoutId);
}

Powered by Google App Engine
This is Rietveld 408576698