| 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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void childrenChanged(const ChildrenChange&) override; | 57 void childrenChanged(const ChildrenChange&) override; |
| 58 void didMoveToNewDocument(Document& oldDocument) override; | 58 void didMoveToNewDocument(Document& oldDocument) override; |
| 59 | 59 |
| 60 void svgAttributeChanged(const QualifiedName&) override; | 60 void svgAttributeChanged(const QualifiedName&) override; |
| 61 bool isURLAttribute(const Attribute&) const override; | 61 bool isURLAttribute(const Attribute&) const override; |
| 62 bool isStructurallyExternal() const override { return hasSourceAttribute(); } | 62 bool isStructurallyExternal() const override { return hasSourceAttribute(); } |
| 63 void finishParsingChildren() override; | 63 void finishParsingChildren() override; |
| 64 | 64 |
| 65 bool haveLoadedRequiredResources() override; | 65 bool haveLoadedRequiredResources() override; |
| 66 | 66 |
| 67 // ScriptLoaderClient overrides: |
| 67 String sourceAttributeValue() const override; | 68 String sourceAttributeValue() const override; |
| 68 String charsetAttributeValue() const override; | |
| 69 String typeAttributeValue() const override; | 69 String typeAttributeValue() const override; |
| 70 String languageAttributeValue() const override; | 70 String textFromChildren() override; |
| 71 String forAttributeValue() const override; | 71 String textContent() const override; |
| 72 String eventAttributeValue() const override; | |
| 73 bool asyncAttributeValue() const override; | |
| 74 bool deferAttributeValue() const override; | |
| 75 bool hasSourceAttribute() const override; | 72 bool hasSourceAttribute() const override; |
| 76 | 73 bool isConnected() const override; |
| 74 bool hasChildren() const override; |
| 75 bool isNonceableElement() const; |
| 76 bool allowInlineScriptForCSP(const AtomicString& nonce, |
| 77 const WTF::OrdinalNumber&, |
| 78 const String& scriptContent) override; |
| 79 AtomicString initiatorName() const override; |
| 80 Document& document() const override; |
| 77 void dispatchLoadEvent() override; | 81 void dispatchLoadEvent() override; |
| 82 void dispatchErrorEvent() override; |
| 83 void setScriptElementForBinding( |
| 84 HTMLScriptElementOrSVGScriptElement&) override; |
| 78 | 85 |
| 79 Element* cloneElementWithoutAttributesAndChildren() override; | 86 Element* cloneElementWithoutAttributesAndChildren() override; |
| 80 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } | 87 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } |
| 81 | |
| 82 Member<ScriptLoader> m_loader; | |
| 83 }; | 88 }; |
| 84 | 89 |
| 85 } // namespace blink | 90 } // namespace blink |
| 86 | 91 |
| 87 #endif // SVGScriptElement_h | 92 #endif // SVGScriptElement_h |
| OLD | NEW |