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

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

Issue 1315983012: Drop getBBox() override on SVGPathElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | « no previous file | Source/core/svg/SVGPathElement.cpp » ('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, 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 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 SVGPathSegListTearOff* animatedPathSegList() { return m_pathSegList->animVal (); } 89 SVGPathSegListTearOff* animatedPathSegList() { return m_pathSegList->animVal (); }
90 90
91 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=15412 - Implement normaliz ed path segment lists! 91 // FIXME: https://bugs.webkit.org/show_bug.cgi?id=15412 - Implement normaliz ed path segment lists!
92 SVGPathSegListTearOff* normalizedPathSegList() { return nullptr; } 92 SVGPathSegListTearOff* normalizedPathSegList() { return nullptr; }
93 SVGPathSegListTearOff* animatedNormalizedPathSegList() { return nullptr; } 93 SVGPathSegListTearOff* animatedNormalizedPathSegList() { return nullptr; }
94 94
95 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr entValue()->byteStream(); } 95 const SVGPathByteStream* pathByteStream() const { return m_pathSegList->curr entValue()->byteStream(); }
96 96
97 void pathSegListChanged(ListModification = ListModificationUnknown); 97 void pathSegListChanged(ListModification = ListModificationUnknown);
98 98
99 FloatRect getBBox() override;
100
101 DECLARE_VIRTUAL_TRACE(); 99 DECLARE_VIRTUAL_TRACE();
102 100
103 private: 101 private:
104 explicit SVGPathElement(Document&); 102 explicit SVGPathElement(Document&);
105 103
106 void svgAttributeChanged(const QualifiedName&) override; 104 void svgAttributeChanged(const QualifiedName&) override;
107 105
108 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override; 106 Node::InsertionNotificationRequest insertedInto(ContainerNode*) override;
109 void removedFrom(ContainerNode*) override; 107 void removedFrom(ContainerNode*) override;
110 108
111 void invalidateMPathDependencies(); 109 void invalidateMPathDependencies();
112 110
113 RefPtrWillBeMember<SVGAnimatedNumber> m_pathLength; 111 RefPtrWillBeMember<SVGAnimatedNumber> m_pathLength;
114 RefPtrWillBeMember<SVGAnimatedPath> m_pathSegList; 112 RefPtrWillBeMember<SVGAnimatedPath> m_pathSegList;
115 }; 113 };
116 114
117 } // namespace blink 115 } // namespace blink
118 116
119 #endif // SVGPathElement_h 117 #endif // SVGPathElement_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/svg/SVGPathElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698