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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGPreserveAspectRatio.h

Issue 2537223006: Cleanup after removal of the SVGViewSpec interface (Closed)
Patch Set: SVGViewSpec& Created 4 years 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, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 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 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 SVGPropertyBase* to, 96 SVGPropertyBase* to,
97 SVGPropertyBase* toAtEndOfDurationValue, 97 SVGPropertyBase* toAtEndOfDurationValue,
98 SVGElement* contextElement) override; 98 SVGElement* contextElement) override;
99 float calculateDistance(SVGPropertyBase* to, 99 float calculateDistance(SVGPropertyBase* to,
100 SVGElement* contextElement) override; 100 SVGElement* contextElement) override;
101 101
102 static AnimatedPropertyType classType() { 102 static AnimatedPropertyType classType() {
103 return AnimatedPreserveAspectRatio; 103 return AnimatedPreserveAspectRatio;
104 } 104 }
105 105
106 void setDefault();
107
106 private: 108 private:
107 SVGPreserveAspectRatio(); 109 SVGPreserveAspectRatio();
108 110
109 void setDefault();
110 template <typename CharType> 111 template <typename CharType>
111 SVGParsingError parseInternal(const CharType*& ptr, 112 SVGParsingError parseInternal(const CharType*& ptr,
112 const CharType* end, 113 const CharType* end,
113 bool validate); 114 bool validate);
114 115
115 SVGPreserveAspectRatioType m_align; 116 SVGPreserveAspectRatioType m_align;
116 SVGMeetOrSliceType m_meetOrSlice; 117 SVGMeetOrSliceType m_meetOrSlice;
117 }; 118 };
118 119
119 DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGPreserveAspectRatio); 120 DEFINE_SVG_PROPERTY_TYPE_CASTS(SVGPreserveAspectRatio);
120 121
121 } // namespace blink 122 } // namespace blink
122 123
123 #endif // SVGPreserveAspectRatio_h 124 #endif // SVGPreserveAspectRatio_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGFitToViewBox.cpp ('k') | third_party/WebKit/Source/core/svg/SVGSVGElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698