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

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

Issue 19097005: Remove one SVG animated type special case from the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix the regressions Created 7 years, 5 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2007 Rob Buis <buis@kde.org> 2 * Copyright (C) 2007 Rob Buis <buis@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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 void setZoomAndPanBaseValue(unsigned short zoomAndPan) { m_zoomAndPan = SVGZ oomAndPan::parseFromNumber(zoomAndPan); } 64 void setZoomAndPanBaseValue(unsigned short zoomAndPan) { m_zoomAndPan = SVGZ oomAndPan::parseFromNumber(zoomAndPan); }
65 65
66 SVGElement* contextElement() const { return m_contextElement; } 66 SVGElement* contextElement() const { return m_contextElement; }
67 void resetContextElement() { m_contextElement = 0; } 67 void resetContextElement() { m_contextElement = 0; }
68 68
69 // Custom non-animated 'transform' property. 69 // Custom non-animated 'transform' property.
70 SVGTransformListPropertyTearOff* transform(); 70 SVGTransformListPropertyTearOff* transform();
71 SVGTransformList transformBaseValue() const { return m_transform; } 71 SVGTransformList transformBaseValue() const { return m_transform; }
72 72
73 // Custom animated 'viewBox' property. 73 // Custom animated 'viewBox' property.
74 PassRefPtr<SVGAnimatedRect> viewBoxAnimated(); 74 PassRefPtr<SVGAnimatedRect> viewBox();
75 FloatRect& viewBox() { return m_viewBox; } 75 FloatRect& viewBoxCurrentValue() { return m_viewBox; }
76 FloatRect viewBoxBaseValue() const { return m_viewBox; } 76 FloatRect viewBoxBaseValue() const { return m_viewBox; }
77 void setViewBoxBaseValue(const FloatRect& viewBox) { m_viewBox = viewBox; } 77 void setViewBoxBaseValue(const FloatRect& viewBox) { m_viewBox = viewBox; }
78 78
79 // Custom animated 'preserveAspectRatio' property. 79 // Custom animated 'preserveAspectRatio' property.
80 PassRefPtr<SVGAnimatedPreserveAspectRatio> preserveAspectRatioAnimated(); 80 PassRefPtr<SVGAnimatedPreserveAspectRatio> preserveAspectRatio();
81 SVGPreserveAspectRatio& preserveAspectRatio() { return m_preserveAspectRatio ; } 81 SVGPreserveAspectRatio& preserveAspectRatioCurrentValue() { return m_preserv eAspectRatio; }
82 SVGPreserveAspectRatio preserveAspectRatioBaseValue() const { return m_prese rveAspectRatio; } 82 SVGPreserveAspectRatio preserveAspectRatioBaseValue() const { return m_prese rveAspectRatio; }
83 void setPreserveAspectRatioBaseValue(const SVGPreserveAspectRatio& preserveA spectRatio) { m_preserveAspectRatio = preserveAspectRatio; } 83 void setPreserveAspectRatioBaseValue(const SVGPreserveAspectRatio& preserveA spectRatio) { m_preserveAspectRatio = preserveAspectRatio; }
84 84
85 private: 85 private:
86 explicit SVGViewSpec(SVGElement*); 86 explicit SVGViewSpec(SVGElement*);
87 87
88 static const SVGPropertyInfo* transformPropertyInfo(); 88 static const SVGPropertyInfo* transformPropertyInfo();
89 static const SVGPropertyInfo* viewBoxPropertyInfo(); 89 static const SVGPropertyInfo* viewBoxPropertyInfo();
90 static const SVGPropertyInfo* preserveAspectRatioPropertyInfo(); 90 static const SVGPropertyInfo* preserveAspectRatioPropertyInfo();
91 91
(...skipping 13 matching lines...) Expand all
105 105
106 SVGTransformList m_transform; 106 SVGTransformList m_transform;
107 FloatRect m_viewBox; 107 FloatRect m_viewBox;
108 SVGPreserveAspectRatio m_preserveAspectRatio; 108 SVGPreserveAspectRatio m_preserveAspectRatio;
109 String m_viewTargetString; 109 String m_viewTargetString;
110 }; 110 };
111 111
112 } // namespace WebCore 112 } // namespace WebCore
113 113
114 #endif 114 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698