Left: | ||
Right: |
LEFT | RIGHT |
---|---|
1 #ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H | 1 #ifndef ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H |
2 #define ADBLOCK_PLUS_GLOBAL_JS_OBJECT_H | 2 #define ADBLOCK_PLUS_GLOBAL_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 class AppInfo; |
9 class ErrorCallback; | 9 class JsEngine; |
10 class WebRequest; | |
11 | 10 |
12 namespace GlobalJsObject | 11 namespace GlobalJsObject |
13 { | 12 { |
14 v8::Handle<v8::ObjectTemplate> Create(const AppInfo& appInfo, | 13 v8::Handle<v8::ObjectTemplate> Create(const AppInfo& appInfo, |
15 ErrorCallback& errorCallback, WebRequest& webRequest); | 14 JsEngine& jsEngine); |
16 } | 15 } |
17 } | 16 } |
18 | 17 |
19 #endif | 18 #endif |
LEFT | RIGHT |