| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 46                    SingleModuleClient*) override; | 46                    SingleModuleClient*) override; | 
| 47   void FetchDescendantsForInlineScript(ModuleScript*, | 47   void FetchDescendantsForInlineScript(ModuleScript*, | 
| 48                                        ModuleTreeClient*) override; | 48                                        ModuleTreeClient*) override; | 
| 49   ModuleScript* GetFetchedModuleScript(const KURL&) override; | 49   ModuleScript* GetFetchedModuleScript(const KURL&) override; | 
| 50   void FetchNewSingleModule(const ModuleScriptFetchRequest&, | 50   void FetchNewSingleModule(const ModuleScriptFetchRequest&, | 
| 51                             ModuleGraphLevel, | 51                             ModuleGraphLevel, | 
| 52                             ModuleScriptLoaderClient*) override; | 52                             ModuleScriptLoaderClient*) override; | 
| 53   bool HasValidContext() override; | 53   bool HasValidContext() override; | 
| 54   ScriptModule CompileModule(const String& script, | 54   ScriptModule CompileModule(const String& script, | 
| 55                              const String& url_str, | 55                              const String& url_str, | 
| 56                              AccessControlStatus) override; | 56                              AccessControlStatus, | 
|  | 57                              const TextPosition&) override; | 
| 57   ScriptValue InstantiateModule(ScriptModule) override; | 58   ScriptValue InstantiateModule(ScriptModule) override; | 
| 58   ScriptValue GetInstantiationError(const ModuleScript*) override; | 59   ScriptValue GetInstantiationError(const ModuleScript*) override; | 
| 59   Vector<String> ModuleRequestsFromScriptModule(ScriptModule) override; | 60   Vector<String> ModuleRequestsFromScriptModule(ScriptModule) override; | 
| 60   void ExecuteModule(const ModuleScript*) override; | 61   void ExecuteModule(const ModuleScript*) override; | 
| 61 | 62 | 
| 62   Member<ScriptModuleResolver> resolver_; | 63   Member<ScriptModuleResolver> resolver_; | 
| 63 }; | 64 }; | 
| 64 | 65 | 
| 65 }  // namespace blink | 66 }  // namespace blink | 
| 66 | 67 | 
| 67 #endif  // DummyModulator_h | 68 #endif  // DummyModulator_h | 
| OLD | NEW | 
|---|