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

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

Issue 1074813002: Remove isSupportedAttribute in svg (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: invalidation guard tweaks Created 5 years, 8 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 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* filterUnits() { return m_ filterUnits.get(); } 55 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* filterUnits() { return m_ filterUnits.get(); }
56 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* primitiveUnits() { return m_primitiveUnits.get(); } 56 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* primitiveUnits() { return m_primitiveUnits.get(); }
57 SVGAnimatedInteger* filterResX() { return m_filterRes->firstInteger(); } 57 SVGAnimatedInteger* filterResX() { return m_filterRes->firstInteger(); }
58 SVGAnimatedInteger* filterResY() { return m_filterRes->secondInteger(); } 58 SVGAnimatedInteger* filterResY() { return m_filterRes->secondInteger(); }
59 59
60 private: 60 private:
61 explicit SVGFilterElement(Document&); 61 explicit SVGFilterElement(Document&);
62 62
63 virtual bool needsPendingResourceHandling() const override { return false; } 63 virtual bool needsPendingResourceHandling() const override { return false; }
64 64
65 bool isSupportedAttribute(const QualifiedName&);
66 virtual void svgAttributeChanged(const QualifiedName&) override; 65 virtual void svgAttributeChanged(const QualifiedName&) override;
67 virtual void childrenChanged(const ChildrenChange&) override; 66 virtual void childrenChanged(const ChildrenChange&) override;
68 67
69 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; 68 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override;
70 69
71 virtual bool selfHasRelativeLengths() const override; 70 virtual bool selfHasRelativeLengths() const override;
72 71
73 RefPtrWillBeMember<SVGAnimatedLength> m_x; 72 RefPtrWillBeMember<SVGAnimatedLength> m_x;
74 RefPtrWillBeMember<SVGAnimatedLength> m_y; 73 RefPtrWillBeMember<SVGAnimatedLength> m_y;
75 RefPtrWillBeMember<SVGAnimatedLength> m_width; 74 RefPtrWillBeMember<SVGAnimatedLength> m_width;
76 RefPtrWillBeMember<SVGAnimatedLength> m_height; 75 RefPtrWillBeMember<SVGAnimatedLength> m_height;
77 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_filt erUnits; 76 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_filt erUnits;
78 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_prim itiveUnits; 77 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_prim itiveUnits;
79 RefPtrWillBeMember<SVGAnimatedIntegerOptionalInteger> m_filterRes; 78 RefPtrWillBeMember<SVGAnimatedIntegerOptionalInteger> m_filterRes;
80 79
81 WillBeHeapHashSet<RefPtrWillBeMember<Node>> m_clientsToAdd; 80 WillBeHeapHashSet<RefPtrWillBeMember<Node>> m_clientsToAdd;
82 }; 81 };
83 82
84 } // namespace blink 83 } // namespace blink
85 84
86 #endif // SVGFilterElement_h 85 #endif // SVGFilterElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698