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

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

Issue 1238083002: Oilpan: Move the EventListener hierarchy to Oilpan's heap (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 122 matching lines...) Expand 10 before | Expand all | Expand 10 after
133 #if ENABLE(ASSERT) 133 #if ENABLE(ASSERT)
134 virtual bool isAnimatableAttribute(const QualifiedName&) const; 134 virtual bool isAnimatableAttribute(const QualifiedName&) const;
135 #endif 135 #endif
136 136
137 MutableStylePropertySet* animatedSMILStyleProperties() const; 137 MutableStylePropertySet* animatedSMILStyleProperties() const;
138 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); 138 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
139 void setUseOverrideComputedStyle(bool); 139 void setUseOverrideComputedStyle(bool);
140 140
141 virtual bool haveLoadedRequiredResources(); 141 virtual bool haveLoadedRequiredResources();
142 142
143 bool addEventListener(const AtomicString& eventType, PassRefPtr<EventListene r>, bool useCapture = false) final; 143 bool addEventListener(const AtomicString& eventType, PassRefPtrWillBeRawPtr< EventListener>, bool useCapture = false) final;
144 bool removeEventListener(const AtomicString& eventType, PassRefPtr<EventList ener>, bool useCapture = false) final; 144 bool removeEventListener(const AtomicString& eventType, PassRefPtrWillBeRawP tr<EventListener>, bool useCapture = false) final;
145 145
146 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0); 146 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0);
147 147
148 void addToPropertyMap(PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase>); 148 void addToPropertyMap(PassRefPtrWillBeRawPtr<SVGAnimatedPropertyBase>);
149 149
150 SVGAnimatedString* className() { return m_className.get(); } 150 SVGAnimatedString* className() { return m_className.get(); }
151 151
152 bool inUseShadowTree() const; 152 bool inUseShadowTree() const;
153 153
154 SVGElementSet* setOfIncomingReferences() const; 154 SVGElementSet* setOfIncomingReferences() const;
(...skipping 121 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