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

Unified Diff: src/AppInfoJsObject.h

Issue 10305024: Simplify context setup, set properties on the global object directly instead of using templates (Closed)
Patch Set: Unbitrotted patch Created April 18, 2013, 11:44 a.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/AppInfoJsObject.h
===================================================================
--- a/src/AppInfoJsObject.h
+++ b/src/AppInfoJsObject.h
@@ -5,13 +5,13 @@
namespace AdblockPlus
{
struct AppInfo;
class ErrorCallback;
namespace AppInfoJsObject
{
- v8::Handle<v8::ObjectTemplate> Create(const AppInfo& appInfo);
+ JsValuePtr Setup(JsEngine& jsEngine, const AppInfo& appInfo, JsValuePtr obj);
}
}
#endif
« no previous file with comments | « include/AdblockPlus/JsEngine.h ('k') | src/AppInfoJsObject.cpp » ('j') | src/GlobalJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld