Changeset 99556 in webkit for trunk/Source/WebCore/css/CSSGradientValue.h
- Timestamp:
- Nov 8, 2011, 5:23:24 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/css/CSSGradientValue.h
r99468 r99556 78 78 void addStops(Gradient*, RenderObject*, RenderStyle* rootStyle, float maxLengthForRepeat = 0); 79 79 80 // Create the gradient for a given size.81 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&) = 0;82 83 80 // Resolve points/radii to front end values. 84 81 FloatPoint computeEndPoint(CSSPrimitiveValue*, CSSPrimitiveValue*, RenderStyle*, RenderStyle* rootStyle, const IntSize&); … … 112 109 virtual String cssText() const; 113 110 111 // Create the gradient for a given size. 112 PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&); 113 114 114 private: 115 115 CSSLinearGradientValue(CSSGradientRepeat repeat, bool deprecatedType = false) … … 117 117 { 118 118 } 119 120 // Create the gradient for a given size.121 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);122 119 123 120 RefPtr<CSSPrimitiveValue> m_angle; // may be null. … … 142 139 void setEndVerticalSize(PassRefPtr<CSSPrimitiveValue> val) { m_endVerticalSize = val; } 143 140 141 // Create the gradient for a given size. 142 PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&); 143 144 144 private: 145 145 CSSRadialGradientValue(CSSGradientRepeat repeat, bool deprecatedType = false) … … 147 147 { 148 148 } 149 150 // Create the gradient for a given size.151 virtual PassRefPtr<Gradient> createGradient(RenderObject*, const IntSize&);152 149 153 150 // Resolve points/radii to front end values.
Note:
See TracChangeset
for help on using the changeset viewer.