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); |
} |