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

Unified Diff: Source/core/svg/SVGElement.h

Issue 896773002: [svg2] Make 'x' and 'y' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: cleanup Created 5 years, 10 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/svg/SVGElement.h
diff --git a/Source/core/svg/SVGElement.h b/Source/core/svg/SVGElement.h
index a628b23353e859caca7276a3f2db7a84a18826ce..4b9002388b20ba147f5184093bc4fae118536fed 100644
--- a/Source/core/svg/SVGElement.h
+++ b/Source/core/svg/SVGElement.h
@@ -66,6 +66,7 @@ public:
virtual String title() const override;
bool hasRelativeLengths() const { return !m_elementsWithRelativeLengths.isEmpty(); }
static bool isAnimatableCSSProperty(const QualifiedName&);
+
enum CTMScope {
NearestViewportScope, // Used by SVGGraphicsElement::getCTM()
ScreenScope, // Used by SVGGraphicsElement::getScreenCTM()
@@ -188,6 +189,8 @@ public:
static const AtomicString& eventParameterName();
+ virtual bool isPresentationAttribute(const QualifiedName&) const override;
+
protected:
SVGElement(const QualifiedName&, Document&, ConstructionType = CreateSVGElement);
@@ -200,7 +203,6 @@ protected:
virtual void attributeChanged(const QualifiedName&, const AtomicString&, AttributeModificationReason = ModifiedDirectly) override;
- virtual bool isPresentationAttribute(const QualifiedName&) const override;
virtual void collectStyleForPresentationAttribute(const QualifiedName&, const AtomicString&, MutableStylePropertySet*) override;
virtual InsertionNotificationRequest insertedInto(ContainerNode*) override;

Powered by Google App Engine
This is Rietveld 408576698