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

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

Issue 1421783002: Oilpan: fix build after r355581. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: undo more droppage of transition types Created 5 years, 2 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
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 199 matching lines...) Expand 10 before | Expand all | Expand 10 after
210 { 210 {
211 ASSERT(m_SVGRareData); 211 ASSERT(m_SVGRareData);
212 return m_SVGRareData.get(); 212 return m_SVGRareData.get();
213 } 213 }
214 214
215 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError. 215 // SVGFitToViewBox::parseAttribute uses reportAttributeParsingError.
216 friend class SVGFitToViewBox; 216 friend class SVGFitToViewBox;
217 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons t AtomicString&); 217 void reportAttributeParsingError(SVGParsingError, const QualifiedName&, cons t AtomicString&);
218 bool hasFocusEventListeners() const; 218 bool hasFocusEventListeners() const;
219 219
220 bool addEventListenerInternal(const AtomicString& eventType, PassRefPtr<Even tListener>, const EventListenerOptions&) final; 220 bool addEventListenerInternal(const AtomicString& eventType, PassRefPtrWillB eRawPtr<EventListener>, const EventListenerOptions&) final;
221 bool removeEventListenerInternal(const AtomicString& eventType, PassRefPtr<E ventListener>, const EventListenerOptions&) final; 221 bool removeEventListenerInternal(const AtomicString& eventType, PassRefPtrWi llBeRawPtr<EventListener>, const EventListenerOptions&) final;
222 222
223 private: 223 private:
224 bool isSVGElement() const = delete; // This will catch anyone doing an unnec essary check. 224 bool isSVGElement() const = delete; // This will catch anyone doing an unnec essary check.
225 bool isStyledElement() const = delete; // This will catch anyone doing an un necessary check. 225 bool isStyledElement() const = delete; // This will catch anyone doing an un necessary check.
226 226
227 const ComputedStyle* ensureComputedStyle(PseudoId = NOPSEUDO); 227 const ComputedStyle* ensureComputedStyle(PseudoId = NOPSEUDO);
228 const ComputedStyle* virtualEnsureComputedStyle(PseudoId pseudoElementSpecif ier = NOPSEUDO) final { return ensureComputedStyle(pseudoElementSpecifier); } 228 const ComputedStyle* virtualEnsureComputedStyle(PseudoId pseudoElementSpecif ier = NOPSEUDO) final { return ensureComputedStyle(pseudoElementSpecifier); }
229 void willRecalcStyle(StyleRecalcChange) override; 229 void willRecalcStyle(StyleRecalcChange) override;
230 230
231 void buildPendingResourcesIfNeeded(); 231 void buildPendingResourcesIfNeeded();
(...skipping 44 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