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

Side by Side Diff: Source/core/svg/SVGScriptElement.h

Issue 643703006: SVGElement::parseAttribute resolves property via property map (Step 2.4) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: aut Created 6 years, 2 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
« no previous file with comments | « Source/core/svg/SVGMPathElement.cpp ('k') | Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 ScriptLoader* loader() const { return m_loader.get(); } 43 ScriptLoader* loader() const { return m_loader.get(); }
44 44
45 #if ENABLE(ASSERT) 45 #if ENABLE(ASSERT)
46 virtual bool isAnimatableAttribute(const QualifiedName&) const override; 46 virtual bool isAnimatableAttribute(const QualifiedName&) const override;
47 #endif 47 #endif
48 48
49 private: 49 private:
50 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted); 50 SVGScriptElement(Document&, bool wasInsertedByParser, bool alreadyStarted);
51 virtual ~SVGScriptElement(); 51 virtual ~SVGScriptElement();
52 52
53 bool isSupportedAttribute(const QualifiedName&);
54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
55 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 54 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
56 virtual void didNotifySubtreeInsertionsToDocument() override; 55 virtual void didNotifySubtreeInsertionsToDocument() override;
57 virtual void childrenChanged(const ChildrenChange&) override; 56 virtual void childrenChanged(const ChildrenChange&) override;
58 virtual void didMoveToNewDocument(Document& oldDocument) override; 57 virtual void didMoveToNewDocument(Document& oldDocument) override;
59 58
60 virtual void svgAttributeChanged(const QualifiedName&) override; 59 virtual void svgAttributeChanged(const QualifiedName&) override;
61 virtual bool isURLAttribute(const Attribute&) const override; 60 virtual bool isURLAttribute(const Attribute&) const override;
62 virtual bool isStructurallyExternal() const override { return hasSourceAttri bute(); } 61 virtual bool isStructurallyExternal() const override { return hasSourceAttri bute(); }
63 virtual void finishParsingChildren() override; 62 virtual void finishParsingChildren() override;
(...skipping 18 matching lines...) Expand all
82 virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadE ventTimer; } 81 virtual Timer<SVGElement>* svgLoadEventTimer() override { return &m_svgLoadE ventTimer; }
83 82
84 83
85 Timer<SVGElement> m_svgLoadEventTimer; 84 Timer<SVGElement> m_svgLoadEventTimer;
86 OwnPtr<ScriptLoader> m_loader; 85 OwnPtr<ScriptLoader> m_loader;
87 }; 86 };
88 87
89 } // namespace blink 88 } // namespace blink
90 89
91 #endif // SVGScriptElement_h 90 #endif // SVGScriptElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMPathElement.cpp ('k') | Source/core/svg/SVGScriptElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698