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

Unified Diff: Source/bindings/core/v8/ScheduledAction.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/bindings/core/v8/ScheduledAction.h
diff --git a/Source/bindings/core/v8/ScheduledAction.h b/Source/bindings/core/v8/ScheduledAction.h
index e41c145e6afe92c1b281254567df317eb3cfe64a..f66f4797d79660171ae2ec437841503b669555cd 100644
--- a/Source/bindings/core/v8/ScheduledAction.h
+++ b/Source/bindings/core/v8/ScheduledAction.h
@@ -47,13 +47,17 @@ class WorkerGlobalScope;
class ScheduledAction {
WTF_MAKE_NONCOPYABLE(ScheduledAction);
public:
- ScheduledAction(ScriptState*, v8::Handle<v8::Function>, int argc, v8::Handle<v8::Value> argv[], v8::Isolate*);
- ScheduledAction(ScriptState*, const String&, const KURL&, v8::Isolate*);
+ static PassOwnPtr<ScheduledAction> create(ScriptState*, const ScriptValue&, const Vector<ScriptValue>&);
Yuta Kitamura 2014/11/14 08:24:06 The meaning of the second and third arguments is n
Jens Widell 2014/11/14 10:19:27 Done.
+ static PassOwnPtr<ScheduledAction> create(ScriptState*, const String&);
Yuta Kitamura 2014/11/14 08:24:06 Ditto for the second argument.
Jens Widell 2014/11/14 10:19:27 Done.
+
~ScheduledAction();
void execute(ExecutionContext*);
private:
+ ScheduledAction(ScriptState*, const ScriptValue&, const Vector<ScriptValue>&);
+ ScheduledAction(ScriptState*, const String&);
Yuta Kitamura 2014/11/14 08:24:06 Ditto.
Jens Widell 2014/11/14 10:19:27 Done.
+
void execute(LocalFrame*);
void execute(WorkerGlobalScope*);
void createLocalHandlesForArgs(Vector<v8::Handle<v8::Value> >* handles);
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScheduledAction.cpp » ('j') | Source/bindings/core/v8/custom/V8WindowCustom.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698