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

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

Issue 2685113002: Cleanup SVGElement::layoutObjectIsNeeded. (Closed)
Patch Set: Preserving behavior Created 3 years, 10 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 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 void mapInstanceToElement(SVGElement*); 141 void mapInstanceToElement(SVGElement*);
142 void removeInstanceMapping(SVGElement*); 142 void removeInstanceMapping(SVGElement*);
143 143
144 SVGElement* correspondingElement() const; 144 SVGElement* correspondingElement() const;
145 void setCorrespondingElement(SVGElement*); 145 void setCorrespondingElement(SVGElement*);
146 SVGUseElement* correspondingUseElement() const; 146 SVGUseElement* correspondingUseElement() const;
147 147
148 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const; 148 void synchronizeAnimatedSVGAttribute(const QualifiedName&) const;
149 149
150 PassRefPtr<ComputedStyle> customStyleForLayoutObject() final; 150 PassRefPtr<ComputedStyle> customStyleForLayoutObject() final;
151 bool layoutObjectIsNeeded(const ComputedStyle&) override;
151 152
152 #if DCHECK_IS_ON() 153 #if DCHECK_IS_ON()
153 virtual bool isAnimatableAttribute(const QualifiedName&) const; 154 virtual bool isAnimatableAttribute(const QualifiedName&) const;
154 #endif 155 #endif
155 156
156 MutableStylePropertySet* animatedSMILStyleProperties() const; 157 MutableStylePropertySet* animatedSMILStyleProperties() const;
157 MutableStylePropertySet* ensureAnimatedSMILStyleProperties(); 158 MutableStylePropertySet* ensureAnimatedSMILStyleProperties();
158 void setUseOverrideComputedStyle(bool); 159 void setUseOverrideComputedStyle(bool);
159 160
160 virtual bool haveLoadedRequiredResources(); 161 virtual bool haveLoadedRequiredResources();
(...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ 335 inline bool isElementOfType<const thisType>(const SVGElement& element) { \
335 return is##thisType(element); \ 336 return is##thisType(element); \
336 } \ 337 } \
337 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 338 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
338 339
339 } // namespace blink 340 } // namespace blink
340 341
341 #include "core/SVGElementTypeHelpers.h" 342 #include "core/SVGElementTypeHelpers.h"
342 343
343 #endif // SVGElement_h 344 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/dom/LayoutTreeBuilder.cpp ('k') | third_party/WebKit/Source/core/svg/SVGElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698