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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGScriptElement.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) 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 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
44 44
45 #if DCHECK_IS_ON() 45 #if DCHECK_IS_ON()
46 bool isAnimatableAttribute(const QualifiedName&) const override; 46 bool isAnimatableAttribute(const QualifiedName&) const override;
47 #endif 47 #endif
48 48
49 DECLARE_VIRTUAL_TRACE(); 49 DECLARE_VIRTUAL_TRACE();
50 50
51 private: 51 private:
52 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); 52 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted);
53 53
54 void parseAttribute(const QualifiedName&, 54 void parseAttribute(const AttributeModificationParams&) override;
55 const AtomicString&,
56 const AtomicString&) override;
57 InsertionNotificationRequest insertedInto(ContainerNode*) override; 55 InsertionNotificationRequest insertedInto(ContainerNode*) override;
58 void didNotifySubtreeInsertionsToDocument() override; 56 void didNotifySubtreeInsertionsToDocument() override;
59 void childrenChanged(const ChildrenChange&) override; 57 void childrenChanged(const ChildrenChange&) override;
60 void didMoveToNewDocument(Document& oldDocument) override; 58 void didMoveToNewDocument(Document& oldDocument) override;
61 59
62 void svgAttributeChanged(const QualifiedName&) override; 60 void svgAttributeChanged(const QualifiedName&) override;
63 bool isURLAttribute(const Attribute&) const override; 61 bool isURLAttribute(const Attribute&) const override;
64 bool isStructurallyExternal() const override { return hasSourceAttribute(); } 62 bool isStructurallyExternal() const override { return hasSourceAttribute(); }
65 void finishParsingChildren() override; 63 void finishParsingChildren() override;
66 64
(...skipping 13 matching lines...) Expand all
80 78
81 Element* cloneElementWithoutAttributesAndChildren() override; 79 Element* cloneElementWithoutAttributesAndChildren() override;
82 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; } 80 bool layoutObjectIsNeeded(const ComputedStyle&) override { return false; }
83 81
84 Member<ScriptLoader> m_loader; 82 Member<ScriptLoader> m_loader;
85 }; 83 };
86 84
87 } // namespace blink 85 } // namespace blink
88 86
89 #endif // SVGScriptElement_h 87 #endif // SVGScriptElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGSVGElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698