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

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

Issue 24527003: [oilpan] Implement accept methods to trace the class hierarchy of SVGElement and all sub-classes. (Closed) Base URL: svn://svn.chromium.org/blink/branches/oilpan
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, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 void setInstanceUpdatesBlocked(bool); 53 void setInstanceUpdatesBlocked(bool);
54 54
55 virtual void animatedPropertyTypeForAttribute(const QualifiedName&, Vector<A nimatedPropertyType>&); 55 virtual void animatedPropertyTypeForAttribute(const QualifiedName&, Vector<A nimatedPropertyType>&);
56 static bool isAnimatableCSSProperty(const QualifiedName&); 56 static bool isAnimatableCSSProperty(const QualifiedName&);
57 57
58 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope ) const; 58 virtual AffineTransform localCoordinateSpaceTransform(SVGLocatable::CTMScope ) const;
59 59
60 virtual Result<CSSStyleDeclaration> style() { return StyledElement::style(); } 60 virtual Result<CSSStyleDeclaration> style() { return StyledElement::style(); }
61 virtual bool needsPendingResourceHandling() const { return true; } 61 virtual bool needsPendingResourceHandling() const { return true; }
62 62
63 virtual void accept(Visitor* visitor) const OVERRIDE { SVGElement::accept(vi sitor); }
64
63 protected: 65 protected:
64 SVGStyledElement(const QualifiedName&, const Handle<Document>&, Construction Type = CreateSVGElement); 66 SVGStyledElement(const QualifiedName&, const Handle<Document>&, Construction Type = CreateSVGElement);
65 virtual bool rendererIsNeeded(const NodeRenderingContext&); 67 virtual bool rendererIsNeeded(const NodeRenderingContext&);
66 68
67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 69 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
68 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE; 70 virtual bool isPresentationAttribute(const QualifiedName&) const OVERRIDE;
69 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, const Handle<MutableStylePropertySet>&) OVERRIDE; 71 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons t AtomicString&, const Handle<MutableStylePropertySet>&) OVERRIDE;
70 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 72 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
71 73
72 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE; 74 virtual InsertionNotificationRequest insertedInto(const Handle<ContainerNode >&) OVERRIDE;
(...skipping 24 matching lines...) Expand all
97 inline SVGStyledElement* toSVGStyledElement(Node* node) 99 inline SVGStyledElement* toSVGStyledElement(Node* node)
98 { 100 {
99 ASSERT_WITH_SECURITY_IMPLICATION(!node || (node->isStyledElement() && node-> isSVGElement())); 101 ASSERT_WITH_SECURITY_IMPLICATION(!node || (node->isStyledElement() && node-> isSVGElement()));
100 return static_cast<SVGStyledElement*>(node); 102 return static_cast<SVGStyledElement*>(node);
101 } 103 }
102 104
103 } // namespace WebCore 105 } // namespace WebCore
104 106
105 #endif // ENABLE(SVG) 107 #endif // ENABLE(SVG)
106 #endif // SVGStyledElement 108 #endif // SVGStyledElement
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698