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

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

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo and merge Created 6 years, 7 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/SVGAnimateMotionElement.cpp ('k') | 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 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
100 void sendSVGLoadEventIfPossible(bool sendParentLoadEvents = false); 100 void sendSVGLoadEventIfPossible(bool sendParentLoadEvents = false);
101 void sendSVGLoadEventIfPossibleAsynchronously(); 101 void sendSVGLoadEventIfPossibleAsynchronously();
102 void svgLoadEventTimerFired(Timer<SVGElement>*); 102 void svgLoadEventTimerFired(Timer<SVGElement>*);
103 virtual Timer<SVGElement>* svgLoadEventTimer(); 103 virtual Timer<SVGElement>* svgLoadEventTimer();
104 104
105 virtual AffineTransform* supplementalTransform() { return 0; } 105 virtual AffineTransform* supplementalTransform() { return 0; }
106 106
107 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr ibutesAreDirty = true; } 107 void invalidateSVGAttributes() { ensureUniqueElementData().m_animatedSVGAttr ibutesAreDirty = true; }
108 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m _presentationAttributeStyleIsDirty = true; } 108 void invalidateSVGPresentationAttributeStyle() { ensureUniqueElementData().m _presentationAttributeStyleIsDirty = true; }
109 109
110 const HashSet<SVGElement*>& instancesForElement() const; 110 const WillBeHeapHashSet<RawPtrWillBeWeakMember<SVGElement> >& instancesForEl ement() const;
111 void mapInstanceToElement(SVGElement*); 111 void mapInstanceToElement(SVGElement*);
112 void removeInstanceMapping(SVGElement*); 112 void removeInstanceMapping(SVGElement*);
113 113
114 bool getBoundingBox(FloatRect&); 114 bool getBoundingBox(FloatRect&);
115 115
116 void setCursorElement(SVGCursorElement*); 116 void setCursorElement(SVGCursorElement*);
117 void setCursorImageValue(CSSCursorImageValue*); 117 void setCursorImageValue(CSSCursorImageValue*);
118
118 #if !ENABLE(OILPAN) 119 #if !ENABLE(OILPAN)
119 void cursorElementRemoved(); 120 void cursorElementRemoved();
120 void cursorImageValueRemoved(); 121 void cursorImageValueRemoved();
121 #endif 122 #endif
122 123
123 SVGElement* correspondingElement(); 124 SVGElement* correspondingElement();
124 void setCorrespondingElement(SVGElement*); 125 void setCorrespondingElement(SVGElement*);
125 SVGUseElement* correspondingUseElement() const; 126 SVGUseElement* correspondingUseElement() const;
126 127
127 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; 128 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); } 250 static bool equal(const QualifiedName& a, const QualifiedName& b) { return a .matches(b); }
250 }; 251 };
251 252
252 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement()); 253 DEFINE_ELEMENT_TYPE_CASTS(SVGElement, isSVGElement());
253 254
254 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); } 255 template <> inline bool isElementOfType<const SVGElement>(const Node& node) { re turn node.isSVGElement(); }
255 256
256 } 257 }
257 258
258 #endif 259 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimateMotionElement.cpp ('k') | Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698