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

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
« no previous file with comments | « no previous file | Source/bindings/core/v8/ScheduledAction.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..fa80f04fd2ff9d13f7abe5f4b54c8b32d0c7b13e 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& handler, const Vector<ScriptValue>& arguments);
+ static PassOwnPtr<ScheduledAction> create(ScriptState*, const String& handler);
+
~ScheduledAction();
void execute(ExecutionContext*);
private:
+ ScheduledAction(ScriptState*, const ScriptValue& handler, const Vector<ScriptValue>& arguments);
+ ScheduledAction(ScriptState*, const String& handler);
+
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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698