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

Side by Side 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.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 #ifndef ADBLOCK_PLUS_APP_INFO_JS_OBJECT_H 1 #ifndef ADBLOCK_PLUS_APP_INFO_JS_OBJECT_H
2 #define ADBLOCK_PLUS_APP_INFO_JS_OBJECT_H 2 #define ADBLOCK_PLUS_APP_INFO_JS_OBJECT_H
3 3
4 #include <v8.h> 4 #include <v8.h>
5 5
6 namespace AdblockPlus 6 namespace AdblockPlus
7 { 7 {
8 struct AppInfo; 8 struct AppInfo;
9 class ErrorCallback; 9 class ErrorCallback;
10 10
11 namespace AppInfoJsObject 11 namespace AppInfoJsObject
12 { 12 {
13 v8::Handle<v8::ObjectTemplate> Create(const AppInfo& appInfo); 13 JsValuePtr Setup(JsEngine& jsEngine, const AppInfo& appInfo, JsValuePtr obj) ;
14 } 14 }
15 } 15 }
16 16
17 #endif 17 #endif
OLDNEW
« 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