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

Side by Side Diff: third_party/WebKit/Source/core/html/HTMLScriptElement.h

Issue 2824583002: Implement <script nomodule> (Closed)
Patch Set: Move script_type declaration 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
3 * (C) 1999 Antti Koivisto (koivisto@kde.org) 3 * (C) 1999 Antti Koivisto (koivisto@kde.org)
4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights
5 * reserved. 5 * reserved.
6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> 6 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org>
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 72
73 bool IsURLAttribute(const Attribute&) const override; 73 bool IsURLAttribute(const Attribute&) const override;
74 bool HasLegalLinkAttribute(const QualifiedName&) const override; 74 bool HasLegalLinkAttribute(const QualifiedName&) const override;
75 const QualifiedName& SubResourceAttributeName() const override; 75 const QualifiedName& SubResourceAttributeName() const override;
76 76
77 // ScriptElementBase overrides: 77 // ScriptElementBase overrides:
78 String SourceAttributeValue() const override; 78 String SourceAttributeValue() const override;
79 String CharsetAttributeValue() const override; 79 String CharsetAttributeValue() const override;
80 String TypeAttributeValue() const override; 80 String TypeAttributeValue() const override;
81 String LanguageAttributeValue() const override; 81 String LanguageAttributeValue() const override;
82 bool NomoduleAttributeValue() const override;
82 String ForAttributeValue() const override; 83 String ForAttributeValue() const override;
83 String EventAttributeValue() const override; 84 String EventAttributeValue() const override;
84 String CrossOriginAttributeValue() const override; 85 String CrossOriginAttributeValue() const override;
85 String IntegrityAttributeValue() const override; 86 String IntegrityAttributeValue() const override;
86 String TextFromChildren() override; 87 String TextFromChildren() override;
87 String TextContent() const override; 88 String TextContent() const override;
88 bool AsyncAttributeValue() const override; 89 bool AsyncAttributeValue() const override;
89 bool DeferAttributeValue() const override; 90 bool DeferAttributeValue() const override;
90 bool HasSourceAttribute() const override; 91 bool HasSourceAttribute() const override;
91 bool IsConnected() const override; 92 bool IsConnected() const override;
92 bool HasChildren() const override; 93 bool HasChildren() const override;
93 bool IsNonceableElement() const override; 94 bool IsNonceableElement() const override;
94 bool AllowInlineScriptForCSP(const AtomicString& nonce, 95 bool AllowInlineScriptForCSP(const AtomicString& nonce,
95 const WTF::OrdinalNumber&, 96 const WTF::OrdinalNumber&,
96 const String& script_content) override; 97 const String& script_content) override;
97 AtomicString InitiatorName() const override; 98 AtomicString InitiatorName() const override;
98 void DispatchLoadEvent() override; 99 void DispatchLoadEvent() override;
99 void DispatchErrorEvent() override; 100 void DispatchErrorEvent() override;
100 void SetScriptElementForBinding( 101 void SetScriptElementForBinding(
101 HTMLScriptElementOrSVGScriptElement&) override; 102 HTMLScriptElementOrSVGScriptElement&) override;
102 103
103 Element* CloneElementWithoutAttributesAndChildren() override; 104 Element* CloneElementWithoutAttributesAndChildren() override;
104 }; 105 };
105 106
106 } // namespace blink 107 } // namespace blink
107 108
108 #endif // HTMLScriptElement_h 109 #endif // HTMLScriptElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698