Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 80 SVGSVGElement* ownerSVGElement() const; | 80 SVGSVGElement* ownerSVGElement() const; |
| 81 SVGElement* viewportElement() const; | 81 SVGElement* viewportElement() const; |
| 82 | 82 |
| 83 SVGDocumentExtensions* accessDocumentSVGExtensions(); | 83 SVGDocumentExtensions* accessDocumentSVGExtensions(); |
| 84 | 84 |
| 85 virtual bool isSVGGraphicsElement() const { return false; } | 85 virtual bool isSVGGraphicsElement() const { return false; } |
| 86 virtual bool isSVGSVGElement() const { return false; } | 86 virtual bool isSVGSVGElement() const { return false; } |
| 87 virtual bool isFilterEffect() const { return false; } | 87 virtual bool isFilterEffect() const { return false; } |
| 88 virtual bool isGradientStop() const { return false; } | 88 virtual bool isGradientStop() const { return false; } |
| 89 virtual bool isTextContent() const { return false; } | 89 virtual bool isTextContent() const { return false; } |
| 90 virtual bool isTextPositioning() const { return false; } | |
|
tkent
2014/01/14 00:45:37
This code is used only for assertion, and we can w
| |
| 90 virtual bool isStructurallyExternal() const { return false; } | 91 virtual bool isStructurallyExternal() const { return false; } |
| 91 | 92 |
| 92 // For SVGTests | 93 // For SVGTests |
| 93 virtual bool isValid() const { return true; } | 94 virtual bool isValid() const { return true; } |
| 94 | 95 |
| 95 virtual void svgAttributeChanged(const QualifiedName&); | 96 virtual void svgAttributeChanged(const QualifiedName&); |
| 96 | 97 |
| 97 void animatedPropertyTypeForAttribute(const QualifiedName&, Vector<AnimatedP ropertyType>&); | 98 void animatedPropertyTypeForAttribute(const QualifiedName&, Vector<AnimatedP ropertyType>&); |
| 98 PassRefPtr<NewSVGAnimatedPropertyBase> propertyFromAttribute(const Qualified Name& attributeName); | 99 PassRefPtr<NewSVGAnimatedPropertyBase> propertyFromAttribute(const Qualified Name& attributeName); |
| 99 | 100 |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 248 return DefaultHash<QualifiedName>::Hash::hash(key); | 249 return DefaultHash<QualifiedName>::Hash::hash(key); |
| 249 } | 250 } |
| 250 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } | 251 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } |
| 251 }; | 252 }; |
| 252 | 253 |
| 253 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); | 254 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); |
| 254 | 255 |
| 255 } | 256 } |
| 256 | 257 |
| 257 #endif | 258 #endif |
| OLD | NEW |