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

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

Issue 2548573003: Drop SVGElement::accessDocumentSVGExtensions() (Closed)
Patch Set: Created 4 years 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 | third_party/WebKit/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, 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 22 matching lines...) Expand all
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class AffineTransform; 36 class AffineTransform;
37 class CSSCursorImageValue; 37 class CSSCursorImageValue;
38 class Document; 38 class Document;
39 class SVGAnimatedPropertyBase; 39 class SVGAnimatedPropertyBase;
40 class SubtreeLayoutScope; 40 class SubtreeLayoutScope;
41 class SVGAnimatedString; 41 class SVGAnimatedString;
42 class SVGCursorElement; 42 class SVGCursorElement;
43 class SVGDocumentExtensions;
44 class SVGElement; 43 class SVGElement;
45 class SVGElementProxySet; 44 class SVGElementProxySet;
46 class SVGElementRareData; 45 class SVGElementRareData;
47 class SVGFitToViewBox;
48 class SVGPropertyBase; 46 class SVGPropertyBase;
49 class SVGSVGElement; 47 class SVGSVGElement;
50 class SVGUseElement; 48 class SVGUseElement;
51 49
52 typedef HeapHashSet<Member<SVGElement>> SVGElementSet; 50 typedef HeapHashSet<Member<SVGElement>> SVGElementSet;
53 51
54 class CORE_EXPORT SVGElement : public Element { 52 class CORE_EXPORT SVGElement : public Element {
55 DEFINE_WRAPPERTYPEINFO(); 53 DEFINE_WRAPPERTYPEINFO();
56 54
57 public: 55 public:
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 SVGPropertyBase*); 98 SVGPropertyBase*);
101 void clearWebAnimatedAttributes(); 99 void clearWebAnimatedAttributes();
102 100
103 void setAnimatedAttribute(const QualifiedName&, SVGPropertyBase*); 101 void setAnimatedAttribute(const QualifiedName&, SVGPropertyBase*);
104 void invalidateAnimatedAttribute(const QualifiedName&); 102 void invalidateAnimatedAttribute(const QualifiedName&);
105 void clearAnimatedAttribute(const QualifiedName&); 103 void clearAnimatedAttribute(const QualifiedName&);
106 104
107 SVGSVGElement* ownerSVGElement() const; 105 SVGSVGElement* ownerSVGElement() const;
108 SVGElement* viewportElement() const; 106 SVGElement* viewportElement() const;
109 107
110 SVGDocumentExtensions& accessDocumentSVGExtensions();
111
112 virtual bool isSVGGeometryElement() const { return false; } 108 virtual bool isSVGGeometryElement() const { return false; }
113 virtual bool isSVGGraphicsElement() const { return false; } 109 virtual bool isSVGGraphicsElement() const { return false; }
114 virtual bool isFilterEffect() const { return false; } 110 virtual bool isFilterEffect() const { return false; }
115 virtual bool isTextContent() const { return false; } 111 virtual bool isTextContent() const { return false; }
116 virtual bool isTextPositioning() const { return false; } 112 virtual bool isTextPositioning() const { return false; }
117 virtual bool isStructurallyExternal() const { return false; } 113 virtual bool isStructurallyExternal() const { return false; }
118 114
119 // For SVGTests 115 // For SVGTests
120 virtual bool isValid() const { return true; } 116 virtual bool isValid() const { return true; }
121 117
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
247 243
248 virtual bool selfHasRelativeLengths() const { return false; } 244 virtual bool selfHasRelativeLengths() const { return false; }
249 245
250 SVGElementRareData* ensureSVGRareData(); 246 SVGElementRareData* ensureSVGRareData();
251 inline bool hasSVGRareData() const { return m_SVGRareData; } 247 inline bool hasSVGRareData() const { return m_SVGRareData; }
252 inline SVGElementRareData* svgRareData() const { 248 inline SVGElementRareData* svgRareData() const {
253 ASSERT(m_SVGRareData); 249 ASSERT(m_SVGRareData);
254 return m_SVGRareData.get(); 250 return m_SVGRareData.get();
255 } 251 }
256 252
257 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError.
258 friend class SVGFitToViewBox;
259 void reportAttributeParsingError(SVGParsingError, 253 void reportAttributeParsingError(SVGParsingError,
260 const QualifiedName&, 254 const QualifiedName&,
261 const AtomicString&); 255 const AtomicString&);
262 bool hasFocusEventListeners() const; 256 bool hasFocusEventListeners() const;
263 257
264 void addedEventListener(const AtomicString& eventType, 258 void addedEventListener(const AtomicString& eventType,
265 RegisteredEventListener&) final; 259 RegisteredEventListener&) final;
266 void removedEventListener(const AtomicString& eventType, 260 void removedEventListener(const AtomicString& eventType,
267 const RegisteredEventListener&) final; 261 const RegisteredEventListener&) final;
268 262
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ 342 inline bool isElementOfType<const thisType>(const SVGElement& element) { \
349 return is##thisType(element); \ 343 return is##thisType(element); \
350 } \ 344 } \
351 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 345 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
352 346
353 } // namespace blink 347 } // namespace blink
354 348
355 #include "core/SVGElementTypeHelpers.h" 349 #include "core/SVGElementTypeHelpers.h"
356 350
357 #endif // SVGElement_h 351 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698