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

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

Issue 1317563010: Drop SVGElement::getBoundingBox (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 virtual AffineTransform* animateMotionTransform() { return nullptr; } 106 virtual AffineTransform* animateMotionTransform() { return nullptr; }
107 107
108 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr ibutesAreDirty = true; } 108 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr ibutesAreDirty = true; }
109 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m _presentationAttributeStyleIsDirty = true; } 109 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m _presentationAttributeStyleIsDirty = true; }
110 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe t*, CSSPropertyID, SVGLength&); 110 void addSVGLengthPropertyToPresentationAttributeStyle(MutableStylePropertySe t*, CSSPropertyID, SVGLength&);
111 111
112 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle ment() const; 112 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement>>& instancesForEle ment() const;
113 void mapInstanceToElement(SVGElement*); 113 void mapInstanceToElement(SVGElement*);
114 void removeInstanceMapping(SVGElement*); 114 void removeInstanceMapping(SVGElement*);
115 115
116 bool getBoundingBox(FloatRect&);
117
118 void setCursorElement(SVGCursorElement*); 116 void setCursorElement(SVGCursorElement*);
119 void setCursorImageValue(CSSCursorImageValue*); 117 void setCursorImageValue(CSSCursorImageValue*);
120 118
121 #if !ENABLE(OILPAN) 119 #if !ENABLE(OILPAN)
122 void cursorElementRemoved(); 120 void cursorElementRemoved();
123 void cursorImageValueRemoved(); 121 void cursorImageValueRemoved();
124 #endif 122 #endif
125 123
126 SVGElement* correspondingElement(); 124 SVGElement* correspondingElement();
127 void setCorrespondingElement(SVGElement*); 125 void setCorrespondingElement(SVGElement*);
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
278 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T >& node) { return is##thisType(node.get()); } \ 276 template<typename T> inline bool is##thisType(const PassRefPtrWillBeRawPtr<T >& node) { return is##thisType(node.get()); } \
279 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n ode) { return is##thisType(node.get()); } \ 277 template<typename T> inline bool is##thisType(const RefPtrWillBeMember<T>& n ode) { return is##thisType(node.get()); } \
280 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \ 278 template <> inline bool isElementOfType<const thisType>(const SVGElement& el ement) { return is##thisType(element); } \
281 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 279 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
282 280
283 } // namespace blink 281 } // namespace blink
284 282
285 #include "core/SVGElementTypeHelpers.h" 283 #include "core/SVGElementTypeHelpers.h"
286 284
287 #endif // SVGElement_h 285 #endif // SVGElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698