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

Unified Diff: src/GlobalJsObject.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/GlobalJsObject.h
===================================================================
--- a/src/GlobalJsObject.h
+++ b/src/GlobalJsObject.h
@@ -5,14 +5,13 @@
namespace AdblockPlus
{
class AppInfo;
class JsEngine;
namespace GlobalJsObject
{
- v8::Handle<v8::ObjectTemplate> Create(const AppInfo& appInfo,
- JsEngine& jsEngine);
+ JsValuePtr Setup(JsEngine& jsEngine, const AppInfo& appInfo, JsValuePtr obj);
}
}
#endif
« no previous file with comments | « src/FileSystemJsObject.cpp ('k') | src/GlobalJsObject.cpp » ('j') | src/GlobalJsObject.cpp » ('J')

Powered by Google App Engine
This is Rietveld