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 DummyModulator_h | 5 #ifndef DummyModulator_h |
6 #define DummyModulator_h | 6 #define DummyModulator_h |
7 | 7 |
8 #include "bindings/core/v8/ScriptModule.h" | 8 #include "bindings/core/v8/ScriptModule.h" |
9 #include "core/dom/Modulator.h" | 9 #include "core/dom/Modulator.h" |
10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 ModuleScript* GetFetchedModuleScript(const KURL&) override; | 47 ModuleScript* GetFetchedModuleScript(const KURL&) override; |
48 void FetchNewSingleModule(const ModuleScriptFetchRequest&, | 48 void FetchNewSingleModule(const ModuleScriptFetchRequest&, |
49 ModuleGraphLevel, | 49 ModuleGraphLevel, |
50 ModuleScriptLoaderClient*) override; | 50 ModuleScriptLoaderClient*) override; |
51 ScriptModule CompileModule(const String& script, | 51 ScriptModule CompileModule(const String& script, |
52 const String& url_str, | 52 const String& url_str, |
53 AccessControlStatus) override; | 53 AccessControlStatus) override; |
54 ScriptValue InstantiateModule(ScriptModule) override; | 54 ScriptValue InstantiateModule(ScriptModule) override; |
55 Vector<String> ModuleRequestsFromScriptModule(ScriptModule) override; | 55 Vector<String> ModuleRequestsFromScriptModule(ScriptModule) override; |
56 void ExecuteModule(const ModuleScript*) override; | 56 void ExecuteModule(const ModuleScript*) override; |
| 57 |
| 58 Member<ScriptModuleResolver> resolver_; |
57 }; | 59 }; |
58 | 60 |
59 } // namespace blink | 61 } // namespace blink |
60 | 62 |
61 #endif // DummyModulator_h | 63 #endif // DummyModulator_h |
OLD | NEW |