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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGSVGElement.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, 2006 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007, 2010 Rob Buis <buis@kde.org>
4 * Copyright (C) 2014 Google, Inc. 4 * Copyright (C) 2014 Google, Inc.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 112
113 SVGViewSpec* viewSpec() const { return m_viewSpec; } 113 SVGViewSpec* viewSpec() const { return m_viewSpec; }
114 void setViewSpec(SVGViewSpec*); 114 void setViewSpec(SVGViewSpec*);
115 115
116 private: 116 private:
117 explicit SVGSVGElement(Document&); 117 explicit SVGSVGElement(Document&);
118 ~SVGSVGElement() override; 118 ~SVGSVGElement() override;
119 119
120 SVGViewSpec& ensureViewSpec(); 120 SVGViewSpec& ensureViewSpec();
121 121
122 void parseAttribute(const QualifiedName&, 122 void parseAttribute(const AttributeModificationParams&) override;
123 const AtomicString&,
124 const AtomicString&) override;
125 bool isPresentationAttribute(const QualifiedName&) const override; 123 bool isPresentationAttribute(const QualifiedName&) const override;
126 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; 124 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override;
127 void collectStyleForPresentationAttribute(const QualifiedName&, 125 void collectStyleForPresentationAttribute(const QualifiedName&,
128 const AtomicString&, 126 const AtomicString&,
129 MutableStylePropertySet*) override; 127 MutableStylePropertySet*) override;
130 128
131 bool layoutObjectIsNeeded(const ComputedStyle&) override; 129 bool layoutObjectIsNeeded(const ComputedStyle&) override;
132 LayoutObject* createLayoutObject(const ComputedStyle&) override; 130 LayoutObject* createLayoutObject(const ComputedStyle&) override;
133 131
134 InsertionNotificationRequest insertedInto(ContainerNode*) override; 132 InsertionNotificationRequest insertedInto(ContainerNode*) override;
(...skipping 30 matching lines...) Expand all
165 Member<SVGPoint> m_translation; 163 Member<SVGPoint> m_translation;
166 Member<SVGViewSpec> m_viewSpec; 164 Member<SVGViewSpec> m_viewSpec;
167 float m_currentScale; 165 float m_currentScale;
168 166
169 friend class SVGCurrentTranslateTearOff; 167 friend class SVGCurrentTranslateTearOff;
170 }; 168 };
171 169
172 } // namespace blink 170 } // namespace blink
173 171
174 #endif // SVGSVGElement_h 172 #endif // SVGSVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698