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

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

Issue 166163005: [SVG2] Add tabindex handling in svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: let form controls override tabindex() Created 6 years, 7 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
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 24 matching lines...) Expand all
35 public: 35 public:
36 static PassRefPtr<SVGMaskElement> create(Document&); 36 static PassRefPtr<SVGMaskElement> create(Document&);
37 37
38 SVGAnimatedLength* x() const { return m_x.get(); } 38 SVGAnimatedLength* x() const { return m_x.get(); }
39 SVGAnimatedLength* y() const { return m_y.get(); } 39 SVGAnimatedLength* y() const { return m_y.get(); }
40 SVGAnimatedLength* width() const { return m_width.get(); } 40 SVGAnimatedLength* width() const { return m_width.get(); }
41 SVGAnimatedLength* height() const { return m_height.get(); } 41 SVGAnimatedLength* height() const { return m_height.get(); }
42 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { return m_ma skUnits.get(); } 42 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskUnits() { return m_ma skUnits.get(); }
43 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { retu rn m_maskContentUnits.get(); } 43 SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>* maskContentUnits() { retu rn m_maskContentUnits.get(); }
44 44
45 virtual bool supportsFocus() const OVERRIDE { return false; }
46
45 private: 47 private:
46 explicit SVGMaskElement(Document&); 48 explicit SVGMaskElement(Document&);
47 49
48 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); } 50 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); }
49 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } 51 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; }
50 52
51 bool isSupportedAttribute(const QualifiedName&); 53 bool isSupportedAttribute(const QualifiedName&);
52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
53 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 55 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
54 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; 56 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE;
55 57
56 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; 58 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE;
57 59
58 virtual bool selfHasRelativeLengths() const OVERRIDE; 60 virtual bool selfHasRelativeLengths() const OVERRIDE;
59 61
60 RefPtr<SVGAnimatedLength> m_x; 62 RefPtr<SVGAnimatedLength> m_x;
61 RefPtr<SVGAnimatedLength> m_y; 63 RefPtr<SVGAnimatedLength> m_y;
62 RefPtr<SVGAnimatedLength> m_width; 64 RefPtr<SVGAnimatedLength> m_width;
63 RefPtr<SVGAnimatedLength> m_height; 65 RefPtr<SVGAnimatedLength> m_height;
64 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskUnits; 66 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskUnits;
65 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskContentUnit s; 67 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_maskContentUnit s;
66 }; 68 };
67 69
68 } 70 }
69 71
70 #endif 72 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698