Chromium Code Reviews| 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); |
| } |