Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: third_party/WebKit/Source/core/dom/ModulatorImpl.h

Issue 2826903002: [ES6 modules] Integrate ModuleTreeLinkerRegistry into ModulatorImpl back-plane (Closed)
Patch Set: rebased Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ModulatorImpl.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ModulatorImpl_h 5 #ifndef ModulatorImpl_h
6 #define ModulatorImpl_h 6 #define ModulatorImpl_h
7 7
8 #include "bindings/core/v8/ScriptModule.h" 8 #include "bindings/core/v8/ScriptModule.h"
9 #include "bindings/core/v8/ScriptWrappable.h" 9 #include "bindings/core/v8/ScriptWrappable.h"
10 #include "bindings/core/v8/TraceWrapperMember.h" 10 #include "bindings/core/v8/TraceWrapperMember.h"
11 #include "bindings/core/v8/V8PerIsolateData.h" 11 #include "bindings/core/v8/V8PerIsolateData.h"
12 #include "core/dom/Modulator.h" 12 #include "core/dom/Modulator.h"
13 #include "platform/heap/Handle.h" 13 #include "platform/heap/Handle.h"
14 14
15 namespace blink { 15 namespace blink {
16 16
17 class Document; 17 class Document;
18 class ExecutionContext; 18 class ExecutionContext;
19 class ModuleMap; 19 class ModuleMap;
20 class ModuleScriptLoaderRegistry; 20 class ModuleScriptLoaderRegistry;
21 class ModuleTreeLinkerRegistry;
21 class ResourceFetcher; 22 class ResourceFetcher;
22 class ScriptState; 23 class ScriptState;
23 class WebTaskRunner; 24 class WebTaskRunner;
24 25
25 // ModulatorImpl is the implementation of Modulator interface, which represents 26 // ModulatorImpl is the implementation of Modulator interface, which represents
26 // "environment settings object" concept for module scripts. 27 // "environment settings object" concept for module scripts.
27 // ModulatorImpl serves as the backplane for tieing all ES6 module algorithm 28 // ModulatorImpl serves as the backplane for tieing all ES6 module algorithm
28 // components together. 29 // components together.
29 class ModulatorImpl final : public Modulator { 30 class ModulatorImpl final : public Modulator {
30 public: 31 public:
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 65
65 ModulatorImpl(RefPtr<ScriptState>, RefPtr<WebTaskRunner>, ResourceFetcher*); 66 ModulatorImpl(RefPtr<ScriptState>, RefPtr<WebTaskRunner>, ResourceFetcher*);
66 67
67 ExecutionContext* GetExecutionContext() const; 68 ExecutionContext* GetExecutionContext() const;
68 69
69 RefPtr<ScriptState> script_state_; 70 RefPtr<ScriptState> script_state_;
70 RefPtr<WebTaskRunner> task_runner_; 71 RefPtr<WebTaskRunner> task_runner_;
71 Member<ResourceFetcher> fetcher_; 72 Member<ResourceFetcher> fetcher_;
72 TraceWrapperMember<ModuleMap> map_; 73 TraceWrapperMember<ModuleMap> map_;
73 Member<ModuleScriptLoaderRegistry> loader_registry_; 74 Member<ModuleScriptLoaderRegistry> loader_registry_;
75 Member<ModuleTreeLinkerRegistry> tree_linker_registry_;
74 Member<ScriptModuleResolver> script_module_resolver_; 76 Member<ScriptModuleResolver> script_module_resolver_;
75 }; 77 };
76 78
77 } // namespace blink 79 } // namespace blink
78 80
79 #endif 81 #endif
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/ModulatorImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698