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

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

Powered by Google App Engine
This is Rietveld