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

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

Issue 267303004: Oilpan: cleanup based on review comments after removal of TreeShared. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix typo and merge Created 6 years, 7 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
« no previous file with comments | « Source/core/svg/SVGElementRareData.h ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org> 2 * Copyright (C) 2004, 2005, 2006, 2007, 2008 Nikolas Zimmermann <zimmermann@kde .org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 48
49 RenderObject* rendererClipChild() const; 49 RenderObject* rendererClipChild() const;
50 50
51 SVGAnimatedLength* x() const { return m_x.get(); } 51 SVGAnimatedLength* x() const { return m_x.get(); }
52 SVGAnimatedLength* y() const { return m_y.get(); } 52 SVGAnimatedLength* y() const { return m_y.get(); }
53 SVGAnimatedLength* width() const { return m_width.get(); } 53 SVGAnimatedLength* width() const { return m_width.get(); }
54 SVGAnimatedLength* height() const { return m_height.get(); } 54 SVGAnimatedLength* height() const { return m_height.get(); }
55 55
56 virtual void buildPendingResource() OVERRIDE; 56 virtual void buildPendingResource() OVERRIDE;
57 57
58 virtual void trace(Visitor*) OVERRIDE;
59
58 private: 60 private:
59 SVGUseElement(Document&, bool wasInsertedByParser); 61 SVGUseElement(Document&, bool wasInsertedByParser);
60 62
61 virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); } 63 virtual bool isStructurallyExternal() const OVERRIDE { return !hrefString(). isNull() && isExternalURIReference(hrefString(), document()); }
62 64
63 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 65 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
64 virtual void removedFrom(ContainerNode*) OVERRIDE; 66 virtual void removedFrom(ContainerNode*) OVERRIDE;
65 67
66 bool isSupportedAttribute(const QualifiedName&); 68 bool isSupportedAttribute(const QualifiedName&);
67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 69 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 bool instanceTreeIsLoading(SVGElementInstance*); 108 bool instanceTreeIsLoading(SVGElementInstance*);
107 virtual void notifyFinished(Resource*) OVERRIDE; 109 virtual void notifyFinished(Resource*) OVERRIDE;
108 TreeScope* referencedScope() const; 110 TreeScope* referencedScope() const;
109 void setDocumentResource(ResourcePtr<DocumentResource>); 111 void setDocumentResource(ResourcePtr<DocumentResource>);
110 112
111 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; } 113 virtual Timer<SVGElement>* svgLoadEventTimer() OVERRIDE { return &m_svgLoadE ventTimer; }
112 114
113 bool m_wasInsertedByParser; 115 bool m_wasInsertedByParser;
114 bool m_haveFiredLoadEvent; 116 bool m_haveFiredLoadEvent;
115 bool m_needsShadowTreeRecreation; 117 bool m_needsShadowTreeRecreation;
116 RefPtr<SVGElementInstance> m_targetElementInstance; 118 RefPtrWillBeMember<SVGElementInstance> m_targetElementInstance;
117 ResourcePtr<DocumentResource> m_resource; 119 ResourcePtr<DocumentResource> m_resource;
118 Timer<SVGElement> m_svgLoadEventTimer; 120 Timer<SVGElement> m_svgLoadEventTimer;
119 }; 121 };
120 122
121 } 123 }
122 124
123 #endif 125 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElementRareData.h ('k') | Source/core/svg/SVGUseElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698