OLD | NEW |
1 // Copyright 2017 The Chromium Authors. All rights reserved. | 1 // Copyright 2017 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef ModuleScript_h | 5 #ifndef ModuleScript_h |
6 #define ModuleScript_h | 6 #define ModuleScript_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptModule.h" | 8 #include "bindings/core/v8/ScriptModule.h" |
9 #include "bindings/core/v8/ScriptValue.h" | 9 #include "bindings/core/v8/ScriptValue.h" |
10 #include "bindings/core/v8/TraceWrapperV8Reference.h" | |
11 #include "core/CoreExport.h" | 10 #include "core/CoreExport.h" |
12 #include "core/dom/Modulator.h" | 11 #include "core/dom/Modulator.h" |
13 #include "core/dom/Script.h" | 12 #include "core/dom/Script.h" |
14 #include "platform/bindings/ScriptWrappable.h" | 13 #include "platform/bindings/ScriptWrappable.h" |
| 14 #include "platform/bindings/TraceWrapperV8Reference.h" |
15 #include "platform/heap/Handle.h" | 15 #include "platform/heap/Handle.h" |
16 #include "platform/loader/fetch/ResourceLoaderOptions.h" | 16 #include "platform/loader/fetch/ResourceLoaderOptions.h" |
17 #include "platform/weborigin/KURL.h" | 17 #include "platform/weborigin/KURL.h" |
18 #include "public/platform/WebURLRequest.h" | 18 #include "public/platform/WebURLRequest.h" |
19 | 19 |
20 namespace blink { | 20 namespace blink { |
21 | 21 |
22 // https://html.spec.whatwg.org/multipage/webappapis.html#concept-module-script-
instantiation-state | 22 // https://html.spec.whatwg.org/multipage/webappapis.html#concept-module-script-
instantiation-state |
23 enum class ModuleInstantiationState { | 23 enum class ModuleInstantiationState { |
24 kUninstantiated, | 24 kUninstantiated, |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
150 // https://html.spec.whatwg.org/multipage/webappapis.html#concept-module-scrip
t-credentials-mode | 150 // https://html.spec.whatwg.org/multipage/webappapis.html#concept-module-scrip
t-credentials-mode |
151 const WebURLRequest::FetchCredentialsMode credentials_mode_; | 151 const WebURLRequest::FetchCredentialsMode credentials_mode_; |
152 | 152 |
153 // For CSP check. | 153 // For CSP check. |
154 const String source_text_; | 154 const String source_text_; |
155 }; | 155 }; |
156 | 156 |
157 } // namespace blink | 157 } // namespace blink |
158 | 158 |
159 #endif | 159 #endif |
OLD | NEW |