summaryrefslogtreecommitdiff
path: root/Source/WebKit/chromium/public/WebScriptController.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/public/WebScriptController.h')
-rw-r--r--Source/WebKit/chromium/public/WebScriptController.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/Source/WebKit/chromium/public/WebScriptController.h b/Source/WebKit/chromium/public/WebScriptController.h
index da3ac1cdd..1299ae9cb 100644
--- a/Source/WebKit/chromium/public/WebScriptController.h
+++ b/Source/WebKit/chromium/public/WebScriptController.h
@@ -39,18 +39,11 @@ class Extension;
namespace WebKit {
-class WebString;
-
class WebScriptController {
public:
- // Registers a v8 extension to be available on webpages. The three forms
- // offer various restrictions on what types of contexts the extension is
- // loaded into. If a scheme is provided, only pages whose URL has the given
- // scheme will match. If extensionGroup is provided, the extension will only
- // be loaded into scripts run via WebFrame::ExecuteInNewWorld with the
- // matching group.
- // Will only affect v8 contexts initialized after this call. Takes ownership
- // of the v8::Extension object passed.
+ // Registers a v8 extension to be available on webpages. Will only affect
+ // v8 contexts initialized after this call. Takes ownership of the
+ // v8::Extension object passed.
WEBKIT_EXPORT static void registerExtension(v8::Extension*);
// Enables special settings which are only applicable if V8 is executed