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

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

Issue 132233010: [SVG] SVGAnimatedRect migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebsaed Created 6 years, 11 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 | « Source/core/svg/SVGAnimatorFactory.h ('k') | Source/core/svg/SVGFitToViewBox.h » ('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 25 matching lines...) Expand all
36 class AffineTransform; 36 class AffineTransform;
37 class CSSCursorImageValue; 37 class CSSCursorImageValue;
38 class Document; 38 class Document;
39 class NewSVGAnimatedPropertyBase; 39 class NewSVGAnimatedPropertyBase;
40 class SubtreeLayoutScope; 40 class SubtreeLayoutScope;
41 class SVGAttributeToPropertyMap; 41 class SVGAttributeToPropertyMap;
42 class SVGCursorElement; 42 class SVGCursorElement;
43 class SVGDocumentExtensions; 43 class SVGDocumentExtensions;
44 class SVGElementInstance; 44 class SVGElementInstance;
45 class SVGElementRareData; 45 class SVGElementRareData;
46 class SVGFitToViewBox;
46 class SVGSVGElement; 47 class SVGSVGElement;
47 48
48 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName ToIdMap, const QualifiedName& attrName); 49 void mapAttributeToCSSProperty(HashMap<StringImpl*, CSSPropertyID>* propertyName ToIdMap, const QualifiedName& attrName);
49 50
50 class SVGElement : public Element { 51 class SVGElement : public Element {
51 public: 52 public:
52 virtual ~SVGElement(); 53 virtual ~SVGElement();
53 54
54 bool isOutermostSVGSVGElement() const; 55 bool isOutermostSVGSVGElement() const;
55 56
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 173
173 virtual bool selfHasRelativeLengths() const { return false; } 174 virtual bool selfHasRelativeLengths() const { return false; }
174 175
175 SVGElementRareData* svgRareData() const; 176 SVGElementRareData* svgRareData() const;
176 SVGElementRareData* ensureSVGRareData(); 177 SVGElementRareData* ensureSVGRareData();
177 178
178 bool hasSVGRareData() const { return m_hasSVGRareData; } 179 bool hasSVGRareData() const { return m_hasSVGRareData; }
179 void setHasSVGRareData() { m_hasSVGRareData = true; } 180 void setHasSVGRareData() { m_hasSVGRareData = true; }
180 void clearHasSVGRareData() { m_hasSVGRareData = false; } 181 void clearHasSVGRareData() { m_hasSVGRareData = false; }
181 182
183 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError.
184 friend class SVGFitToViewBox;
182 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons t AtomicString&); 185 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons t AtomicString&);
183 bool hasFocusEventListeners() const; 186 bool hasFocusEventListeners() const;
184 187
185 class CleanUpAnimatedPropertiesCaller { 188 class CleanUpAnimatedPropertiesCaller {
186 public: 189 public:
187 CleanUpAnimatedPropertiesCaller() 190 CleanUpAnimatedPropertiesCaller()
188 : m_owner(0) 191 : m_owner(0)
189 { 192 {
190 } 193 }
191 194
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 return DefaultHash<QualifiedName>::Hash::hash(key); 252 return DefaultHash<QualifiedName>::Hash::hash(key);
250 } 253 }
251 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 254 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
252 }; 255 };
253 256
254 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement()); 257 DEFINE_NODE_TYPE_CASTS(SVGElement, isSVGElement());
255 258
256 } 259 }
257 260
258 #endif 261 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimatorFactory.h ('k') | Source/core/svg/SVGFitToViewBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698