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

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

Issue 712813002: Count internal use of DOMImplementation::hasFeature() returning false (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 1 month 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) 2005 Alexander Kellett <lypanov@kde.org> 2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 28 matching lines...) Expand all
39 SVGAnimatedLength* x() const { return m_x.get(); } 39 SVGAnimatedLength* x() const { return m_x.get(); }
40 SVGAnimatedLength* y() const { return m_y.get(); } 40 SVGAnimatedLength* y() const { return m_y.get(); }
41 SVGAnimatedLength* width() const { return m_width.get(); } 41 SVGAnimatedLength* width() const { return m_width.get(); }
42 SVGAnimatedLength* height() const { return m_height.get(); } 42 SVGAnimatedLength* height() const { return m_height.get(); }
43 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { return m_ma skUnits.get(); } 43 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { return m_ma skUnits.get(); }
44 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { retu rn m_maskContentUnits.get(); } 44 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { retu rn m_maskContentUnits.get(); }
45 45
46 private: 46 private:
47 explicit SVGMaskElement(Document&); 47 explicit SVGMaskElement(Document&);
48 48
49 virtual bool isValid() const override { return SVGTests::isValid(); } 49 virtual bool isValid() const override { return SVGTests::isValid(document()) ; }
50 virtual bool needsPendingResourceHandling() const override { return false; } 50 virtual bool needsPendingResourceHandling() const override { return false; }
51 51
52 bool isSupportedAttribute(const QualifiedName&); 52 bool isSupportedAttribute(const QualifiedName&);
53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide; 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr ide;
54 virtual void svgAttributeChanged(const QualifiedName&) override; 54 virtual void svgAttributeChanged(const QualifiedName&) override;
55 virtual void childrenChanged(const ChildrenChange&) override; 55 virtual void childrenChanged(const ChildrenChange&) override;
56 56
57 virtual RenderObject* createRenderer(RenderStyle*) override; 57 virtual RenderObject* createRenderer(RenderStyle*) override;
58 58
59 virtual bool selfHasRelativeLengths() const override; 59 virtual bool selfHasRelativeLengths() const override;
60 60
61 RefPtr<SVGAnimatedLength> m_x; 61 RefPtr<SVGAnimatedLength> m_x;
62 RefPtr<SVGAnimatedLength> m_y; 62 RefPtr<SVGAnimatedLength> m_y;
63 RefPtr<SVGAnimatedLength> m_width; 63 RefPtr<SVGAnimatedLength> m_width;
64 RefPtr<SVGAnimatedLength> m_height; 64 RefPtr<SVGAnimatedLength> m_height;
65 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskUnits; 65 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskUnits;
66 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskContentUnit s; 66 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskContentUnit s;
67 }; 67 };
68 68
69 } // namespace blink 69 } // namespace blink
70 70
71 #endif // SVGMaskElement_h 71 #endif // SVGMaskElement_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698