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

Side by Side Diff: third_party/WebKit/Source/core/dom/ModuleScript.cpp

Issue 2848243004: Clean up bindings/core/v8 (Part 2) (Closed)
Patch Set: Rebase Created 3 years, 7 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
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 #include "core/dom/ModuleScript.h" 5 #include "core/dom/ModuleScript.h"
6 6
7 #include "bindings/core/v8/ScriptState.h"
8 #include "bindings/core/v8/ScriptValue.h" 7 #include "bindings/core/v8/ScriptValue.h"
9 #include "core/dom/ScriptModuleResolver.h" 8 #include "core/dom/ScriptModuleResolver.h"
9 #include "platform/bindings/ScriptState.h"
10 #include "v8/include/v8.h" 10 #include "v8/include/v8.h"
11 11
12 namespace blink { 12 namespace blink {
13 13
14 ModuleScript* ModuleScript::Create( 14 ModuleScript* ModuleScript::Create(
15 const String& source_text, 15 const String& source_text,
16 Modulator* modulator, 16 Modulator* modulator,
17 const KURL& base_url, 17 const KURL& base_url,
18 const String& nonce, 18 const String& nonce,
19 ParserDisposition parser_state, 19 ParserDisposition parser_state,
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 void ModuleScript::RunScript(LocalFrame* frame, const SecurityOrigin*) const { 127 void ModuleScript::RunScript(LocalFrame* frame, const SecurityOrigin*) const {
128 settings_object_->ExecuteModule(this); 128 settings_object_->ExecuteModule(this);
129 } 129 }
130 130
131 String ModuleScript::InlineSourceTextForCSP() const { 131 String ModuleScript::InlineSourceTextForCSP() const {
132 return source_text_; 132 return source_text_;
133 } 133 }
134 134
135 } // namespace blink 135 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/ModuleScript.h ('k') | third_party/WebKit/Source/core/dom/MutationCallback.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698