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

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

Issue 1425913004: [SVG] Shared <use> path geometry (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void removeInstanceMapping(SVGElement*); 114 void removeInstanceMapping(SVGElement*);
115 115
116 void setCursorElement(SVGCursorElement*); 116 void setCursorElement(SVGCursorElement*);
117 void setCursorImageValue(CSSCursorImageValue*); 117 void setCursorImageValue(CSSCursorImageValue*);
118 118
119 #if !ENABLE(OILPAN) 119 #if !ENABLE(OILPAN)
120 void cursorElementRemoved(); 120 void cursorElementRemoved();
121 void cursorImageValueRemoved(); 121 void cursorImageValueRemoved();
122 #endif 122 #endif
123 123
124 SVGElement* correspondingElement(); 124 SVGElement* correspondingElement() const;
125 void setCorrespondingElement(SVGElement*); 125 void setCorrespondingElement(SVGElement*);
126 SVGUseElement* correspondingUseElement() const; 126 SVGUseElement* correspondingUseElement() const;
127 127
128 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; 128 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;
129 129
130 PassRefPtr<ComputedStyle> customStyleForLayoutObject() final; 130 PassRefPtr<ComputedStyle> customStyleForLayoutObject() final;
131 131
132 #if ENABLE(ASSERT) 132 #if ENABLE(ASSERT)
133 virtual bool isAnimatableAttribute(const QualifiedName&) const; 133 virtual bool isAnimatableAttribute(const QualifiedName&) const;
134 #endif 134 #endif
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
276 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()); } \
277 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()); } \
278 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); } \
279 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 279 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
280 280
281 } // namespace blink 281 } // namespace blink
282 282
283 #include "core/SVGElementTypeHelpers.h" 283 #include "core/SVGElementTypeHelpers.h"
284 284
285 #endif // SVGElement_h 285 #endif // SVGElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698