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

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

Issue 378343004: Use Reflect on attributes in xml namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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/bindings/scripts/v8_attributes.py ('k') | Source/core/svg/SVGElement.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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2009 Apple Inc. All rights reserved. 4 * Copyright (C) 2009 Apple Inc. All rights reserved.
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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 NearestViewportScope, // Used by SVGGraphicsElement::getCTM() 67 NearestViewportScope, // Used by SVGGraphicsElement::getCTM()
68 ScreenScope, // Used by SVGGraphicsElement::getScreenCTM() 68 ScreenScope, // Used by SVGGraphicsElement::getScreenCTM()
69 AncestorScope // Used by SVGSVGElement::get{Enclosure|Intersection}List( ) 69 AncestorScope // Used by SVGSVGElement::get{Enclosure|Intersection}List( )
70 }; 70 };
71 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const; 71 virtual AffineTransform localCoordinateSpaceTransform(CTMScope) const;
72 virtual bool needsPendingResourceHandling() const { return true; } 72 virtual bool needsPendingResourceHandling() const { return true; }
73 73
74 bool instanceUpdatesBlocked() const; 74 bool instanceUpdatesBlocked() const;
75 void setInstanceUpdatesBlocked(bool); 75 void setInstanceUpdatesBlocked(bool);
76 76
77 const AtomicString& xmlbase() const;
78 void setXMLbase(const AtomicString&);
79
80 const AtomicString& xmllang() const;
81 void setXMLlang(const AtomicString&);
82
83 const AtomicString& xmlspace() const;
84 void setXMLspace(const AtomicString&);
85
86 SVGSVGElement* ownerSVGElement() const; 77 SVGSVGElement* ownerSVGElement() const;
87 SVGElement* viewportElement() const; 78 SVGElement* viewportElement() const;
88 79
89 SVGDocumentExtensions& accessDocumentSVGExtensions(); 80 SVGDocumentExtensions& accessDocumentSVGExtensions();
90 81
91 virtual bool isSVGGraphicsElement() const { return false; } 82 virtual bool isSVGGraphicsElement() const { return false; }
92 virtual bool isFilterEffect() const { return false; } 83 virtual bool isFilterEffect() const { return false; }
93 virtual bool isTextContent() const { return false; } 84 virtual bool isTextContent() const { return false; }
94 virtual bool isTextPositioning() const { return false; } 85 virtual bool isTextPositioning() const { return false; }
95 virtual bool isStructurallyExternal() const { return false; } 86 virtual bool isStructurallyExternal() const { return false; }
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after
268 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 259 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
269 }; 260 };
270 261
271 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); 262 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
272 263
273 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); } 264 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); }
274 265
275 } 266 }
276 267
277 #endif 268 #endif
OLDNEW
« no previous file with comments | « Source/bindings/scripts/v8_attributes.py ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698