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

Unified Diff: third_party/WebKit/Source/core/svg/SVGScriptElement.h

Issue 2723793002: De-Element ScriptLoader (Closed)
Patch Set: De-Element ScriptLoader Created 3 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/svg/SVGScriptElement.h
diff --git a/third_party/WebKit/Source/core/svg/SVGScriptElement.h b/third_party/WebKit/Source/core/svg/SVGScriptElement.h
index f1679b5330c70943cf15d3fa5484cf228d3dff02..3d089a46222bdeb38c9fdb1c0b05a22f324d03ed 100644
--- a/third_party/WebKit/Source/core/svg/SVGScriptElement.h
+++ b/third_party/WebKit/Source/core/svg/SVGScriptElement.h
@@ -64,22 +64,27 @@ class SVGScriptElement final : public SVGElement,
bool haveLoadedRequiredResources() override;
+ // ScriptLoaderClient overrides:
String sourceAttributeValue() const override;
- String charsetAttributeValue() const override;
String typeAttributeValue() const override;
- String languageAttributeValue() const override;
- String forAttributeValue() const override;
- String eventAttributeValue() const override;
- bool asyncAttributeValue() const override;
- bool deferAttributeValue() const override;
+ String textFromChildren() override;
+ String textContent() const override;
bool hasSourceAttribute() const override;
-
+ bool isConnected() const override;
+ bool hasChildren() const override;
+ bool isNonceableElement() const;
+ bool allowInlineScriptForCSP(const AtomicString& nonce,
+ const WTF::OrdinalNumber&,
+ const String& scriptContent) override;
+ AtomicString initiatorName() const override;
+ Document& document() const override;
void dispatchLoadEvent() override;
+ void dispatchErrorEvent() override;
+ void setScriptElementForBinding(
+ HTMLScriptElementOrSVGScriptElement&) override;
Element* cloneElementWithoutAttributesAndChildren() override;
bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
-
- Member<ScriptLoader> m_loader;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698