OLD | NEW |
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 reserv
ed. | 4 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008 Apple Inc. All rights reserv
ed. |
5 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> | 5 * Copyright (C) 2008 Nikolas Zimmermann <zimmermann@kde.org> |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void setAsync(bool); | 44 void setAsync(bool); |
45 bool async() const; | 45 bool async() const; |
46 | 46 |
47 ScriptLoader* loader() const { return m_loader.get(); } | 47 ScriptLoader* loader() const { return m_loader.get(); } |
48 | 48 |
49 DECLARE_VIRTUAL_TRACE(); | 49 DECLARE_VIRTUAL_TRACE(); |
50 | 50 |
51 private: | 51 private: |
52 HTMLScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); | 52 HTMLScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); |
53 | 53 |
54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 54 void parseAttribute(const QualifiedName&, const AtomicString&) override; |
55 virtual void attributeWillChange(const QualifiedName&, const AtomicString& o
ldValue, const AtomicString& newValue) override; | 55 void attributeWillChange(const QualifiedName&, const AtomicString& oldValue,
const AtomicString& newValue) override; |
56 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; | 56 InsertionNotificationRequest insertedInto(ContainerNode*) override; |
57 virtual void didNotifySubtreeInsertionsToDocument() override; | 57 void didNotifySubtreeInsertionsToDocument() override; |
58 virtual void childrenChanged(const ChildrenChange&) override; | 58 void childrenChanged(const ChildrenChange&) override; |
59 virtual void didMoveToNewDocument(Document& oldDocument) override; | 59 void didMoveToNewDocument(Document& oldDocument) override; |
60 | 60 |
61 virtual bool isURLAttribute(const Attribute&) const override; | 61 bool isURLAttribute(const Attribute&) const override; |
62 virtual bool hasLegalLinkAttribute(const QualifiedName&) const override; | 62 bool hasLegalLinkAttribute(const QualifiedName&) const override; |
63 virtual const QualifiedName& subResourceAttributeName() const override; | 63 const QualifiedName& subResourceAttributeName() const override; |
64 | 64 |
65 virtual String sourceAttributeValue() const override; | 65 String sourceAttributeValue() const override; |
66 virtual String charsetAttributeValue() const override; | 66 String charsetAttributeValue() const override; |
67 virtual String typeAttributeValue() const override; | 67 String typeAttributeValue() const override; |
68 virtual String languageAttributeValue() const override; | 68 String languageAttributeValue() const override; |
69 virtual String forAttributeValue() const override; | 69 String forAttributeValue() const override; |
70 virtual String eventAttributeValue() const override; | 70 String eventAttributeValue() const override; |
71 virtual bool asyncAttributeValue() const override; | 71 bool asyncAttributeValue() const override; |
72 virtual bool deferAttributeValue() const override; | 72 bool deferAttributeValue() const override; |
73 virtual bool hasSourceAttribute() const override; | 73 bool hasSourceAttribute() const override; |
74 | 74 |
75 virtual void dispatchLoadEvent() override; | 75 void dispatchLoadEvent() override; |
76 | 76 |
77 virtual PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChil
dren() override; | 77 PassRefPtrWillBeRawPtr<Element> cloneElementWithoutAttributesAndChildren() o
verride; |
78 | 78 |
79 OwnPtrWillBeMember<ScriptLoader> m_loader; | 79 OwnPtrWillBeMember<ScriptLoader> m_loader; |
80 }; | 80 }; |
81 | 81 |
82 } // namespace blink | 82 } // namespace blink |
83 | 83 |
84 #endif // HTMLScriptElement_h | 84 #endif // HTMLScriptElement_h |
OLD | NEW |