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

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

Issue 2623513005: Introduce Element::AttributeModificationParams (Closed)
Patch Set: Created 3 years, 11 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 ScriptLoader* loader() const { return m_loader.get(); } 53 ScriptLoader* loader() const { return m_loader.get(); }
54 54
55 DECLARE_VIRTUAL_TRACE(); 55 DECLARE_VIRTUAL_TRACE();
56 56
57 private: 57 private:
58 HTMLScriptElement(Document&, 58 HTMLScriptElement(Document&,
59 bool wasInsertedByParser, 59 bool wasInsertedByParser,
60 bool alreadyStarted, 60 bool alreadyStarted,
61 bool createdDuringDocumentWrite); 61 bool createdDuringDocumentWrite);
62 62
63 void parseAttribute(const QualifiedName&, 63 void parseAttribute(const AttributeModificationParams&) override;
64 const AtomicString&,
65 const AtomicString&) override;
66 InsertionNotificationRequest insertedInto(ContainerNode*) override; 64 InsertionNotificationRequest insertedInto(ContainerNode*) override;
67 void didNotifySubtreeInsertionsToDocument() override; 65 void didNotifySubtreeInsertionsToDocument() override;
68 void childrenChanged(const ChildrenChange&) override; 66 void childrenChanged(const ChildrenChange&) override;
69 void didMoveToNewDocument(Document& oldDocument) override; 67 void didMoveToNewDocument(Document& oldDocument) override;
70 68
71 bool isURLAttribute(const Attribute&) const override; 69 bool isURLAttribute(const Attribute&) const override;
72 bool hasLegalLinkAttribute(const QualifiedName&) const override; 70 bool hasLegalLinkAttribute(const QualifiedName&) const override;
73 const QualifiedName& subResourceAttributeName() const override; 71 const QualifiedName& subResourceAttributeName() const override;
74 72
75 String sourceAttributeValue() const override; 73 String sourceAttributeValue() const override;
76 String charsetAttributeValue() const override; 74 String charsetAttributeValue() const override;
77 String typeAttributeValue() const override; 75 String typeAttributeValue() const override;
78 String languageAttributeValue() const override; 76 String languageAttributeValue() const override;
79 String forAttributeValue() const override; 77 String forAttributeValue() const override;
80 String eventAttributeValue() const override; 78 String eventAttributeValue() const override;
81 bool asyncAttributeValue() const override; 79 bool asyncAttributeValue() const override;
82 bool deferAttributeValue() const override; 80 bool deferAttributeValue() const override;
83 bool hasSourceAttribute() const override; 81 bool hasSourceAttribute() const override;
84 82
85 void dispatchLoadEvent() override; 83 void dispatchLoadEvent() override;
86 84
87 Element* cloneElementWithoutAttributesAndChildren() override; 85 Element* cloneElementWithoutAttributesAndChildren() override;
88 86
89 Member<ScriptLoader> m_loader; 87 Member<ScriptLoader> m_loader;
90 }; 88 };
91 89
92 } // namespace blink 90 } // namespace blink
93 91
94 #endif // HTMLScriptElement_h 92 #endif // HTMLScriptElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/html/HTMLProgressElement.cpp ('k') | third_party/WebKit/Source/core/html/HTMLScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698