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

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

Issue 2484153003: Use an SVGElementProxy in ReferenceClipPathOperation (Closed)
Patch Set: Rebase; fix comments; findElement Created 4 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 24 matching lines...) Expand all
35 35
36 class AffineTransform; 36 class AffineTransform;
37 class CSSCursorImageValue; 37 class CSSCursorImageValue;
38 class Document; 38 class Document;
39 class SVGAnimatedPropertyBase; 39 class SVGAnimatedPropertyBase;
40 class SubtreeLayoutScope; 40 class SubtreeLayoutScope;
41 class SVGAnimatedString; 41 class SVGAnimatedString;
42 class SVGCursorElement; 42 class SVGCursorElement;
43 class SVGDocumentExtensions; 43 class SVGDocumentExtensions;
44 class SVGElement; 44 class SVGElement;
45 class SVGElementProxySet;
45 class SVGElementRareData; 46 class SVGElementRareData;
46 class SVGFitToViewBox; 47 class SVGFitToViewBox;
47 class SVGPropertyBase; 48 class SVGPropertyBase;
48 class SVGSVGElement; 49 class SVGSVGElement;
49 class SVGUseElement; 50 class SVGUseElement;
50 51
51 typedef HeapHashSet<Member<SVGElement>> SVGElementSet; 52 typedef HeapHashSet<Member<SVGElement>> SVGElementSet;
52 53
53 class CORE_EXPORT SVGElement : public Element { 54 class CORE_EXPORT SVGElement : public Element {
54 DEFINE_WRAPPERTYPEINFO(); 55 DEFINE_WRAPPERTYPEINFO();
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
160 virtual bool haveLoadedRequiredResources(); 161 virtual bool haveLoadedRequiredResources();
161 162
162 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0); 163 void invalidateRelativeLengthClients(SubtreeLayoutScope* = 0);
163 164
164 void addToPropertyMap(SVGAnimatedPropertyBase*); 165 void addToPropertyMap(SVGAnimatedPropertyBase*);
165 166
166 SVGAnimatedString* className() { return m_className.get(); } 167 SVGAnimatedString* className() { return m_className.get(); }
167 168
168 bool inUseShadowTree() const; 169 bool inUseShadowTree() const;
169 170
171 SVGElementProxySet* elementProxySet();
172
170 SVGElementSet* setOfIncomingReferences() const; 173 SVGElementSet* setOfIncomingReferences() const;
171 void addReferenceTo(SVGElement*); 174 void addReferenceTo(SVGElement*);
172 void rebuildAllIncomingReferences(); 175 void rebuildAllIncomingReferences();
173 void removeAllIncomingReferences(); 176 void removeAllIncomingReferences();
174 void removeAllOutgoingReferences(); 177 void removeAllOutgoingReferences();
175 178
176 class InvalidationGuard { 179 class InvalidationGuard {
177 STACK_ALLOCATED(); 180 STACK_ALLOCATED();
178 WTF_MAKE_NONCOPYABLE(InvalidationGuard); 181 WTF_MAKE_NONCOPYABLE(InvalidationGuard);
179 182
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after
341 inline bool isElementOfType<const thisType>(const SVGElement& element) { \ 344 inline bool isElementOfType<const thisType>(const SVGElement& element) { \
342 return is##thisType(element); \ 345 return is##thisType(element); \
343 } \ 346 } \
344 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType) 347 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(thisType)
345 348
346 } // namespace blink 349 } // namespace blink
347 350
348 #include "core/SVGElementTypeHelpers.h" 351 #include "core/SVGElementTypeHelpers.h"
349 352
350 #endif // SVGElement_h 353 #endif // SVGElement_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/style/ClipPathOperation.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