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

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

Issue 24430002: Rename attach and detach to createRenderTree/destroyRenderTree (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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 | Annotate | Revision Log
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); } 57 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); }
58 58
59 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE; 59 virtual InsertionNotificationRequest insertedInto(ContainerNode*) OVERRIDE;
60 virtual void removedFrom(ContainerNode*) OVERRIDE; 60 virtual void removedFrom(ContainerNode*) OVERRIDE;
61 virtual void buildPendingResource(); 61 virtual void buildPendingResource();
62 62
63 bool isSupportedAttribute(const QualifiedName&); 63 bool isSupportedAttribute(const QualifiedName&);
64 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 64 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
65 virtual void svgAttributeChanged(const QualifiedName&); 65 virtual void svgAttributeChanged(const QualifiedName&);
66 66
67 virtual void attach(const AttachContext& = AttachContext()) OVERRIDE; 67 virtual void createRenderTree(const AttachContext& = AttachContext()) OVERRI DE;
68 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE; 68 virtual void willRecalcStyle(StyleRecalcChange) OVERRIDE;
69 69
70 virtual RenderObject* createRenderer(RenderStyle*); 70 virtual RenderObject* createRenderer(RenderStyle*);
71 virtual void toClipPath(Path&); 71 virtual void toClipPath(Path&);
72 72
73 void clearResourceReferences(); 73 void clearResourceReferences();
74 void buildShadowAndInstanceTree(SVGElement* target); 74 void buildShadowAndInstanceTree(SVGElement* target);
75 void detachInstance(); 75 void detachInstance();
76 76
77 virtual bool haveLoadedRequiredResources() { return SVGExternalResourcesRequ ired::haveLoadedRequiredResources(); } 77 virtual bool haveLoadedRequiredResources() { return SVGExternalResourcesRequ ired::haveLoadedRequiredResources(); }
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 128
129 inline SVGUseElement* toSVGUseElement(Node* node) 129 inline SVGUseElement* toSVGUseElement(Node* node)
130 { 130 {
131 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::useTag) ); 131 ASSERT_WITH_SECURITY_IMPLICATION(!node || node->hasTagName(SVGNames::useTag) );
132 return static_cast<SVGUseElement*>(node); 132 return static_cast<SVGUseElement*>(node);
133 } 133 }
134 134
135 } 135 }
136 136
137 #endif 137 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698