Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: src/GlobalJsObject.h

Issue 29369365: Issue #4692 - Rewrite `SetTimeout` facility to avoid `JsValuePtr` and `JsValueList`
Patch Set: Created Dec. 19, 2016, 10:24 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: src/GlobalJsObject.h
===================================================================
--- a/src/GlobalJsObject.h
+++ b/src/GlobalJsObject.h
@@ -24,12 +24,15 @@
namespace AdblockPlus
{
class AppInfo;
- class JsEngine;
-
namespace GlobalJsObject
{
JsValuePtr Setup(JsEnginePtr jsEngine, const AppInfo& appInfo, JsValuePtr obj);
}
}
+/**
+ * Callback function implementing "SetTimeout()" on the global JS object.
+ */
+v8::Handle<v8::Value> CallbackForSetTimeout(const v8::Arguments& arguments);
+
#endif
« no previous file with comments | « src/AllocatedArray.h ('k') | src/GlobalJsObject.cpp » ('j') | src/GlobalJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld