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

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

Issue 192103002: Drop SVGElement::isGradientStop() virtual function (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use Traversal<> API Created 6 years, 9 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
« no previous file with comments | « no previous file | Source/core/svg/SVGGradientElement.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 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 void setXMLspace(const AtomicString&); 79 void setXMLspace(const AtomicString&);
80 80
81 SVGSVGElement* ownerSVGElement() const; 81 SVGSVGElement* ownerSVGElement() const;
82 SVGElement* viewportElement() const; 82 SVGElement* viewportElement() const;
83 83
84 SVGDocumentExtensions& accessDocumentSVGExtensions(); 84 SVGDocumentExtensions& accessDocumentSVGExtensions();
85 85
86 virtual bool isSVGGraphicsElement() const { return false; } 86 virtual bool isSVGGraphicsElement() const { return false; }
87 virtual bool isSVGSVGElement() const { return false; } 87 virtual bool isSVGSVGElement() const { return false; }
88 virtual bool isFilterEffect() const { return false; } 88 virtual bool isFilterEffect() const { return false; }
89 virtual bool isGradientStop() const { return false; }
90 virtual bool isTextContent() const { return false; } 89 virtual bool isTextContent() const { return false; }
91 virtual bool isTextPositioning() const { return false; } 90 virtual bool isTextPositioning() const { return false; }
92 virtual bool isStructurallyExternal() const { return false; } 91 virtual bool isStructurallyExternal() const { return false; }
93 92
94 // For SVGTests 93 // For SVGTests
95 virtual bool isValid() const { return true; } 94 virtual bool isValid() const { return true; }
96 95
97 virtual void svgAttributeChanged(const QualifiedName&); 96 virtual void svgAttributeChanged(const QualifiedName&);
98 97
99 PassRefPtr<NewSVGAnimatedPropertyBase> propertyFromAttribute(const Qualified Name& attributeName); 98 PassRefPtr<NewSVGAnimatedPropertyBase> propertyFromAttribute(const Qualified Name& attributeName);
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 return DefaultHash<QualifiedName>::Hash::hash(key); 227 return DefaultHash<QualifiedName>::Hash::hash(key);
229 } 228 }
230 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 229 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
231 }; 230 };
232 231
233 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); 232 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
234 233
235 } 234 }
236 235
237 #endif 236 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGGradientElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698