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

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

Issue 1074813002: Remove isSupportedAttribute in svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: invalidation guard tweaks Created 5 years, 8 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 | Annotate | Revision Log
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
60 60
61 virtual bool isPresentationAttribute(const QualifiedName&) const override; 61 virtual bool isPresentationAttribute(const QualifiedName&) const override;
62 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override; 62 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, MutableStylePropertySet*) override;
63 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o verride; 63 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o verride;
64 64
65 virtual bool isStructurallyExternal() const override { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); } 65 virtual bool isStructurallyExternal() const override { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); }
66 66
67 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override; 67 virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;
68 virtual void removedFrom(ContainerNode*) override; 68 virtual void removedFrom(ContainerNode*) override;
69 69
70 bool isSupportedAttribute(const QualifiedName&);
71 virtual void svgAttributeChanged(const QualifiedName&) override; 70 virtual void svgAttributeChanged(const QualifiedName&) override;
72 71
73 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 72 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
74 virtual void toClipPath(Path&) override; 73 virtual void toClipPath(Path&) override;
75 74
76 void clearResourceReferences(); 75 void clearResourceReferences();
77 void buildShadowAndInstanceTree(SVGElement* target); 76 void buildShadowAndInstanceTree(SVGElement* target);
78 77
79 void scheduleShadowTreeRecreation(); 78 void scheduleShadowTreeRecreation();
80 virtual bool haveLoadedRequiredResources() override { return !isStructurally External() || m_haveFiredLoadEvent; } 79 virtual bool haveLoadedRequiredResources() override { return !isStructurally External() || m_haveFiredLoadEvent; }
(...skipping 27 matching lines...) Expand all
108 bool m_haveFiredLoadEvent; 107 bool m_haveFiredLoadEvent;
109 bool m_needsShadowTreeRecreation; 108 bool m_needsShadowTreeRecreation;
110 RefPtrWillBeMember<SVGElement> m_targetElementInstance; 109 RefPtrWillBeMember<SVGElement> m_targetElementInstance;
111 ResourcePtr<DocumentResource> m_resource; 110 ResourcePtr<DocumentResource> m_resource;
112 Timer<SVGElement> m_svgLoadEventTimer; 111 Timer<SVGElement> m_svgLoadEventTimer;
113 }; 112 };
114 113
115 } // namespace blink 114 } // namespace blink
116 115
117 #endif // SVGUseElement_h 116 #endif // SVGUseElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698