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

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

Issue 157663002: Remove SVGElement::childShouldCreateRenderer (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.h » ('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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2007 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) 2006 Samuel Weinig <sam.weinig@gmail.com> 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com>
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 explicit SVGFilterElement(Document&); 53 explicit SVGFilterElement(Document&);
54 54
55 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } 55 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; }
56 56
57 bool isSupportedAttribute(const QualifiedName&); 57 bool isSupportedAttribute(const QualifiedName&);
58 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 58 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
59 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 59 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
60 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; 60 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
61 61
62 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 62 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
63 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { r eturn true; }
64 63
65 virtual bool selfHasRelativeLengths() const OVERRIDE; 64 virtual bool selfHasRelativeLengths() const OVERRIDE;
66 65
67 static const AtomicString& filterResXIdentifier(); 66 static const AtomicString& filterResXIdentifier();
68 static const AtomicString& filterResYIdentifier(); 67 static const AtomicString& filterResYIdentifier();
69 68
70 RefPtr<SVGAnimatedLength> m_x; 69 RefPtr<SVGAnimatedLength> m_x;
71 RefPtr<SVGAnimatedLength> m_y; 70 RefPtr<SVGAnimatedLength> m_y;
72 RefPtr<SVGAnimatedLength> m_width; 71 RefPtr<SVGAnimatedLength> m_width;
73 RefPtr<SVGAnimatedLength> m_height; 72 RefPtr<SVGAnimatedLength> m_height;
74 RefPtr<SVGAnimatedString> m_href; 73 RefPtr<SVGAnimatedString> m_href;
75 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) 74 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement)
76 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG UnitType) 75 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG UnitType)
77 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType s::SVGUnitType) 76 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType s::SVGUnitType)
78 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) 77 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX)
79 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) 78 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY)
80 END_DECLARE_ANIMATED_PROPERTIES 79 END_DECLARE_ANIMATED_PROPERTIES
81 80
82 HashSet<RefPtr<Node> > m_clientsToAdd; 81 HashSet<RefPtr<Node> > m_clientsToAdd;
83 }; 82 };
84 83
85 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag)); 84 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag));
86 85
87 } 86 }
88 87
89 #endif 88 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGElement.h ('k') | Source/core/svg/SVGFilterPrimitiveStandardAttributes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698