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

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

Issue 2485663002: Store CSSPropertyID in SVGAnimatedPropertyBase (Closed)
Patch Set: Add missing case Created 4 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
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, 2014 Apple Inc. All rights reserved. 4 * Copyright (C) 2009, 2014 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 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
199 199
200 void invalidateInstances(); 200 void invalidateInstances();
201 void setNeedsStyleRecalcForInstances(StyleChangeType, 201 void setNeedsStyleRecalcForInstances(StyleChangeType,
202 const StyleChangeReasonForTracing&); 202 const StyleChangeReasonForTracing&);
203 203
204 DECLARE_VIRTUAL_TRACE(); 204 DECLARE_VIRTUAL_TRACE();
205 205
206 static const AtomicString& eventParameterName(); 206 static const AtomicString& eventParameterName();
207 207
208 bool isPresentationAttribute(const QualifiedName&) const override; 208 bool isPresentationAttribute(const QualifiedName&) const override;
209 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const { 209 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const;
210 return false;
211 }
212 210
213 protected: 211 protected:
214 SVGElement(const QualifiedName&, 212 SVGElement(const QualifiedName&,
215 Document&, 213 Document&,
216 ConstructionType = CreateSVGElement); 214 ConstructionType = CreateSVGElement);
217 215
218 void parseAttribute(const QualifiedName&, 216 void parseAttribute(const QualifiedName&,
219 const AtomicString&, 217 const AtomicString&,
220 const AtomicString&) override; 218 const AtomicString&) override;
221 219
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
343 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ 341 inline bool isElementOfType<const thisType>(const SVGElement& element) { \
344 return is##thisType(element); \ 342 return is##thisType(element); \
345 } \ 343 } \
346 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 344 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
347 345
348 } // namespace blink 346 } // namespace blink
349 347
350 #include "core/SVGElementTypeHelpers.h" 348 #include "core/SVGElementTypeHelpers.h"
351 349
352 #endif // SVGElement_h 350 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGCircleElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698