| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> |
| 4 * | 4 * |
| 5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
| 6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
| 7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
| 8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
| 9 * | 9 * |
| 10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 | 70 |
| 71 // ScriptElementBase overrides: | 71 // ScriptElementBase overrides: |
| 72 bool AsyncAttributeValue() const { return false; } | 72 bool AsyncAttributeValue() const { return false; } |
| 73 String CharsetAttributeValue() const { return String(); } | 73 String CharsetAttributeValue() const { return String(); } |
| 74 String CrossOriginAttributeValue() const { return String(); } | 74 String CrossOriginAttributeValue() const { return String(); } |
| 75 bool DeferAttributeValue() const { return false; } | 75 bool DeferAttributeValue() const { return false; } |
| 76 String EventAttributeValue() const { return String(); } | 76 String EventAttributeValue() const { return String(); } |
| 77 String ForAttributeValue() const { return String(); } | 77 String ForAttributeValue() const { return String(); } |
| 78 String IntegrityAttributeValue() const { return String(); } | 78 String IntegrityAttributeValue() const { return String(); } |
| 79 String LanguageAttributeValue() const { return String(); } | 79 String LanguageAttributeValue() const { return String(); } |
| 80 bool NomoduleAttributeValue() const { return false; } |
| 80 String SourceAttributeValue() const override; | 81 String SourceAttributeValue() const override; |
| 81 String TypeAttributeValue() const override; | 82 String TypeAttributeValue() const override; |
| 82 String TextFromChildren() override; | 83 String TextFromChildren() override; |
| 83 String TextContent() const override; | 84 String TextContent() const override; |
| 84 bool HasSourceAttribute() const override; | 85 bool HasSourceAttribute() const override; |
| 85 bool IsConnected() const override; | 86 bool IsConnected() const override; |
| 86 bool HasChildren() const override; | 87 bool HasChildren() const override; |
| 87 bool IsNonceableElement() const; | 88 bool IsNonceableElement() const; |
| 88 bool AllowInlineScriptForCSP(const AtomicString& nonce, | 89 bool AllowInlineScriptForCSP(const AtomicString& nonce, |
| 89 const WTF::OrdinalNumber&, | 90 const WTF::OrdinalNumber&, |
| 90 const String& script_content) override; | 91 const String& script_content) override; |
| 91 AtomicString InitiatorName() const override; | 92 AtomicString InitiatorName() const override; |
| 92 Document& GetDocument() const override; | 93 Document& GetDocument() const override; |
| 93 void DispatchLoadEvent() override; | 94 void DispatchLoadEvent() override; |
| 94 void DispatchErrorEvent() override; | 95 void DispatchErrorEvent() override; |
| 95 void SetScriptElementForBinding( | 96 void SetScriptElementForBinding( |
| 96 HTMLScriptElementOrSVGScriptElement&) override; | 97 HTMLScriptElementOrSVGScriptElement&) override; |
| 97 | 98 |
| 98 Element* CloneElementWithoutAttributesAndChildren() override; | 99 Element* CloneElementWithoutAttributesAndChildren() override; |
| 99 bool LayoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 100 bool LayoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
| 100 }; | 101 }; |
| 101 | 102 |
| 102 } // namespace blink | 103 } // namespace blink |
| 103 | 104 |
| 104 #endif // SVGScriptElement_h | 105 #endif // SVGScriptElement_h |
| OLD | NEW |