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

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

Issue 64543003: Remove unused SVGElement::isSupported (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix title/description Created 7 years, 1 month 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 | « no previous file | 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 // https://bugs.webkit.org/show_bug.cgi?id=77938 191 // https://bugs.webkit.org/show_bug.cgi?id=77938
192 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; } 192 virtual bool areAuthorShadowsAllowed() const OVERRIDE { return false; }
193 193
194 RenderStyle* computedStyle(PseudoId = NOPSEUDO); 194 RenderStyle* computedStyle(PseudoId = NOPSEUDO);
195 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementSpecifier); } 195 virtual RenderStyle* virtualComputedStyle(PseudoId pseudoElementSpecifier = NOPSEUDO) { return computedStyle(pseudoElementSpecifier); }
196 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE; 196 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE;
197 virtual bool isKeyboardFocusable() const OVERRIDE; 197 virtual bool isKeyboardFocusable() const OVERRIDE;
198 198
199 void buildPendingResourcesIfNeeded(); 199 void buildPendingResourcesIfNeeded();
200 200
201 virtual bool isSupported(StringImpl* feature, StringImpl* version) const;
202
203 void mapInstanceToElement(SVGElementInstance*); 201 void mapInstanceToElement(SVGElementInstance*);
204 void removeInstanceMapping(SVGElementInstance*); 202 void removeInstanceMapping(SVGElementInstance*);
205 203
206 void cleanupAnimatedProperties(); 204 void cleanupAnimatedProperties();
207 friend class CleanUpAnimatedPropertiesCaller; 205 friend class CleanUpAnimatedPropertiesCaller;
208 206
209 HashSet<SVGElement*> m_elementsWithRelativeLengths; 207 HashSet<SVGElement*> m_elementsWithRelativeLengths;
210 208
211 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGElement) 209 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGElement)
212 DECLARE_ANIMATED_STRING(ClassName, className) 210 DECLARE_ANIMATED_STRING(ClassName, className)
(...skipping 15 matching lines...) Expand all
228 return DefaultHash<QualifiedName>::Hash::hash(key); 226 return DefaultHash<QualifiedName>::Hash::hash(key);
229 } 227 }
230 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 228 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
231 }; 229 };
232 230
233 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); 231 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement());
234 232
235 } 233 }
236 234
237 #endif 235 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698