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

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
« no previous file with comments | « Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp ('k') | Source/core/frame/DOMWindowTimers.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/DOMWindowTimers.h
diff --git a/Source/core/frame/DOMWindowTimers.h b/Source/core/frame/DOMWindowTimers.h
index b7726ddf41d65fbe83fb78163425ff1c16981976..4ce7609a19bf9568483309fbca97d13349f6f9ce 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& handler, int timeout, const Vector<ScriptValue>& arguments);
+int setTimeout(ScriptState*, EventTarget&, const String& handler, int timeout, const Vector<ScriptValue>&);
+int setInterval(ScriptState*, EventTarget&, const ScriptValue& handler, int timeout, const Vector<ScriptValue>&);
+int setInterval(ScriptState*, EventTarget&, const String& handler, int timeout, const Vector<ScriptValue>&);
void clearTimeout(EventTarget&, int timeoutId);
void clearInterval(EventTarget&, int timeoutId);
}
« no previous file with comments | « Source/bindings/core/v8/custom/V8WorkerGlobalScopeCustom.cpp ('k') | Source/core/frame/DOMWindowTimers.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698