| OLD | NEW | 
|---|
| 1 /* | 1 /* | 
| 2  * This file is part of Adblock Plus <https://adblockplus.org/>, | 2  * This file is part of Adblock Plus <https://adblockplus.org/>, | 
| 3  * Copyright (C) 2006-2015 Eyeo GmbH | 3  * Copyright (C) 2006-2015 Eyeo GmbH | 
| 4  * | 4  * | 
| 5  * Adblock Plus is free software: you can redistribute it and/or modify | 5  * Adblock Plus is free software: you can redistribute it and/or modify | 
| 6  * it under the terms of the GNU General Public License version 3 as | 6  * it under the terms of the GNU General Public License version 3 as | 
| 7  * published by the Free Software Foundation. | 7  * published by the Free Software Foundation. | 
| 8  * | 8  * | 
| 9  * Adblock Plus is distributed in the hope that it will be useful, | 9  * Adblock Plus is distributed in the hope that it will be useful, | 
| 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10  * but WITHOUT ANY WARRANTY; without even the implied warranty of | 
| (...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 138 #endif | 138 #endif | 
| 139     //@} | 139     //@} | 
| 140 | 140 | 
| 141     /** | 141     /** | 
| 142      * Creates a new JavaScript object. | 142      * Creates a new JavaScript object. | 
| 143      * @return New `JsValue` instance. | 143      * @return New `JsValue` instance. | 
| 144      */ | 144      */ | 
| 145     JsValuePtr NewObject(); | 145     JsValuePtr NewObject(); | 
| 146 | 146 | 
| 147     /** | 147     /** | 
|  | 148      * Creates a new JavaScript array object. | 
|  | 149      * @return New `JsValue` instance. | 
|  | 150      */ | 
|  | 151     JsValuePtr NewArray(); | 
|  | 152 | 
|  | 153     /** | 
| 148      * Creates a JavaScript function that invokes a C++ callback. | 154      * Creates a JavaScript function that invokes a C++ callback. | 
| 149      * @param callback C++ callback to invoke. The callback receives a | 155      * @param callback C++ callback to invoke. The callback receives a | 
| 150      *        `v8::Arguments` object and can use `FromArguments()` to retrieve | 156      *        `v8::Arguments` object and can use `FromArguments()` to retrieve | 
| 151      *        the current `JsEngine`. | 157      *        the current `JsEngine`. | 
| 152      * @return New `JsValue` instance. | 158      * @return New `JsValue` instance. | 
| 153      */ | 159      */ | 
| 154     JsValuePtr NewCallback(v8::InvocationCallback callback); | 160     JsValuePtr NewCallback(v8::InvocationCallback callback); | 
| 155 | 161 | 
| 156     /** | 162     /** | 
| 157      * Returns a `JsEngine` instance contained in a `v8::Arguments` object. | 163      * Returns a `JsEngine` instance contained in a `v8::Arguments` object. | 
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 217     FileSystemPtr fileSystem; | 223     FileSystemPtr fileSystem; | 
| 218     WebRequestPtr webRequest; | 224     WebRequestPtr webRequest; | 
| 219     LogSystemPtr logSystem; | 225     LogSystemPtr logSystem; | 
| 220     v8::Isolate* isolate; | 226     v8::Isolate* isolate; | 
| 221     V8ValueHolder<v8::Context> context; | 227     V8ValueHolder<v8::Context> context; | 
| 222     EventMap eventCallbacks; | 228     EventMap eventCallbacks; | 
| 223   }; | 229   }; | 
| 224 } | 230 } | 
| 225 | 231 | 
| 226 #endif | 232 #endif | 
| OLD | NEW | 
|---|