| Index: third_party/WebKit/Source/bindings/core/v8/ScriptController.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
|
| index 425a2083a11376b342087b1711543274fd77beec..73367b7818c1ef21ec88533097a3ecddb5410545 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptController.h
|
| @@ -51,6 +51,7 @@ class Element;
|
| class HTMLDocument;
|
| class KURL;
|
| class ScriptSourceCode;
|
| +class ScriptModule;
|
| class SecurityOrigin;
|
| class WindowProxy;
|
| class Widget;
|
| @@ -113,6 +114,9 @@ class CORE_EXPORT ScriptController final
|
| // Returns true if argument is a JavaScript URL.
|
| bool executeScriptIfJavaScriptURL(const KURL&, Element*);
|
|
|
| + // TODO(kouhei): I think script should be a ScriptSourceCode
|
| + ScriptModule compileModule(const String& script, const String& urlStr);
|
| +
|
| // Returns true if the current world is isolated, and has its own Content
|
| // Security Policy. In this case, the policy of the main world should be
|
| // ignored when evaluating resources injected into the DOM.
|
|
|