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

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

Issue 166163005: [SVG2] Add tabindex handling in svg. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: review fs+chris Created 6 years, 9 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) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 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 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
91 91
92 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr entValue()->byteStream(); } 92 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr entValue()->byteStream(); }
93 93
94 void pathSegListChanged(ListModification = ListModificationUnknown); 94 void pathSegListChanged(ListModification = ListModificationUnknown);
95 95
96 virtual FloatRect getBBox() OVERRIDE; 96 virtual FloatRect getBBox() OVERRIDE;
97 97
98 private: 98 private:
99 explicit SVGPathElement(Document&); 99 explicit SVGPathElement(Document&);
100 100
101 virtual bool supportsFocus() const OVERRIDE { return hasFocusEventListeners( ); }
102
103 bool isSupportedAttribute(const QualifiedName&); 101 bool isSupportedAttribute(const QualifiedName&);
104 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 102 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
105 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 103 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
106 virtual bool supportsMarkers() const OVERRIDE { return true; } 104 virtual bool supportsMarkers() const OVERRIDE { return true; }
107 105
108 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER RIDE; 106 virtual Node::InsertionNotificationRequest insertedInto(ContainerNode*) OVER RIDE;
109 virtual void removedFrom(ContainerNode*) OVERRIDE; 107 virtual void removedFrom(ContainerNode*) OVERRIDE;
110 108
111 void invalidateMPathDependencies(); 109 void invalidateMPathDependencies();
112 110
113 RefPtr<SVGAnimatedNumber> m_pathLength; 111 RefPtr<SVGAnimatedNumber> m_pathLength;
114 RefPtr<SVGAnimatedPath> m_pathSegList; 112 RefPtr<SVGAnimatedPath> m_pathSegList;
115 }; 113 };
116 114
117 } // namespace WebCore 115 } // namespace WebCore
118 116
119 #endif 117 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698