| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 2000 Lars Knoll (knoll@kde.org) |
| 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) | 3 * (C) 2000 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
| 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. | 5 * Copyright (C) 2003, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All r
ights reserved. |
| 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) | 6 * Copyright (C) 2006 Graham Dennis (graham.dennis@gmail.com) |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 1395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1406 const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType(
); } | 1406 const SVGPaintType& fillPaintType() const { return svgStyle().fillPaintType(
); } |
| 1407 Color fillPaintColor() const { return svgStyle().fillPaintColor(); } | 1407 Color fillPaintColor() const { return svgStyle().fillPaintColor(); } |
| 1408 float fillOpacity() const { return svgStyle().fillOpacity(); } | 1408 float fillOpacity() const { return svgStyle().fillOpacity(); } |
| 1409 void setFillOpacity(float f) { accessSVGStyle().setFillOpacity(f); } | 1409 void setFillOpacity(float f) { accessSVGStyle().setFillOpacity(f); } |
| 1410 | 1410 |
| 1411 const SVGPaintType& strokePaintType() const { return svgStyle().strokePaintT
ype(); } | 1411 const SVGPaintType& strokePaintType() const { return svgStyle().strokePaintT
ype(); } |
| 1412 Color strokePaintColor() const { return svgStyle().strokePaintColor(); } | 1412 Color strokePaintColor() const { return svgStyle().strokePaintColor(); } |
| 1413 float strokeOpacity() const { return svgStyle().strokeOpacity(); } | 1413 float strokeOpacity() const { return svgStyle().strokeOpacity(); } |
| 1414 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } | 1414 void setStrokeOpacity(float f) { accessSVGStyle().setStrokeOpacity(f); } |
| 1415 SVGLength* strokeWidth() const { return svgStyle().strokeWidth(); } | 1415 SVGLength* strokeWidth() const { return svgStyle().strokeWidth(); } |
| 1416 void setStrokeWidth(PassRefPtr<SVGLength> w) { accessSVGStyle().setStrokeWid
th(w); } | 1416 void setStrokeWidth(PassRefPtrWillBeRawPtr<SVGLength> w) { accessSVGStyle().
setStrokeWidth(w); } |
| 1417 SVGLengthList* strokeDashArray() const { return svgStyle().strokeDashArray()
; } | 1417 SVGLengthList* strokeDashArray() const { return svgStyle().strokeDashArray()
; } |
| 1418 void setStrokeDashArray(PassRefPtr<SVGLengthList> array) { accessSVGStyle().
setStrokeDashArray(array); } | 1418 void setStrokeDashArray(PassRefPtrWillBeRawPtr<SVGLengthList> array) { acces
sSVGStyle().setStrokeDashArray(array); } |
| 1419 SVGLength* strokeDashOffset() const { return svgStyle().strokeDashOffset();
} | 1419 SVGLength* strokeDashOffset() const { return svgStyle().strokeDashOffset();
} |
| 1420 void setStrokeDashOffset(PassRefPtr<SVGLength> d) { accessSVGStyle().setStro
keDashOffset(d); } | 1420 void setStrokeDashOffset(PassRefPtrWillBeRawPtr<SVGLength> d) { accessSVGSty
le().setStrokeDashOffset(d); } |
| 1421 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } | 1421 float strokeMiterLimit() const { return svgStyle().strokeMiterLimit(); } |
| 1422 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f);
} | 1422 void setStrokeMiterLimit(float f) { accessSVGStyle().setStrokeMiterLimit(f);
} |
| 1423 | 1423 |
| 1424 float floodOpacity() const { return svgStyle().floodOpacity(); } | 1424 float floodOpacity() const { return svgStyle().floodOpacity(); } |
| 1425 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } | 1425 void setFloodOpacity(float f) { accessSVGStyle().setFloodOpacity(f); } |
| 1426 | 1426 |
| 1427 float stopOpacity() const { return svgStyle().stopOpacity(); } | 1427 float stopOpacity() const { return svgStyle().stopOpacity(); } |
| 1428 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } | 1428 void setStopOpacity(float f) { accessSVGStyle().setStopOpacity(f); } |
| 1429 | 1429 |
| 1430 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } | 1430 void setStopColor(const Color& c) { accessSVGStyle().setStopColor(c); } |
| 1431 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } | 1431 void setFloodColor(const Color& c) { accessSVGStyle().setFloodColor(c); } |
| 1432 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } | 1432 void setLightingColor(const Color& c) { accessSVGStyle().setLightingColor(c)
; } |
| 1433 | 1433 |
| 1434 SVGLength* baselineShiftValue() const { return svgStyle().baselineShiftValue
(); } | 1434 SVGLength* baselineShiftValue() const { return svgStyle().baselineShiftValue
(); } |
| 1435 void setBaselineShiftValue(PassRefPtr<SVGLength> s) { accessSVGStyle().setBa
selineShiftValue(s); } | 1435 void setBaselineShiftValue(PassRefPtrWillBeRawPtr<SVGLength> s) { accessSVGS
tyle().setBaselineShiftValue(s); } |
| 1436 | 1436 |
| 1437 void setShapeOutside(PassRefPtr<ShapeValue> value) | 1437 void setShapeOutside(PassRefPtr<ShapeValue> value) |
| 1438 { | 1438 { |
| 1439 if (rareNonInheritedData->m_shapeOutside == value) | 1439 if (rareNonInheritedData->m_shapeOutside == value) |
| 1440 return; | 1440 return; |
| 1441 rareNonInheritedData.access()->m_shapeOutside = value; | 1441 rareNonInheritedData.access()->m_shapeOutside = value; |
| 1442 } | 1442 } |
| 1443 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } | 1443 ShapeValue* shapeOutside() const { return rareNonInheritedData->m_shapeOutsi
de.get(); } |
| 1444 | 1444 |
| 1445 static ShapeValue* initialShapeOutside() { return 0; } | 1445 static ShapeValue* initialShapeOutside() { return 0; } |
| (...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1696 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } | 1696 static WrapFlow initialWrapFlow() { return WrapFlowAuto; } |
| 1697 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } | 1697 static WrapThrough initialWrapThrough() { return WrapThroughWrap; } |
| 1698 | 1698 |
| 1699 static QuotesData* initialQuotes() { return 0; } | 1699 static QuotesData* initialQuotes() { return 0; } |
| 1700 | 1700 |
| 1701 // Keep these at the end. | 1701 // Keep these at the end. |
| 1702 // FIXME: Why? Seems these should all be one big sorted list. | 1702 // FIXME: Why? Seems these should all be one big sorted list. |
| 1703 static LineClampValue initialLineClamp() { return LineClampValue(); } | 1703 static LineClampValue initialLineClamp() { return LineClampValue(); } |
| 1704 static ETextSecurity initialTextSecurity() { return TSNONE; } | 1704 static ETextSecurity initialTextSecurity() { return TSNONE; } |
| 1705 static Color initialTapHighlightColor(); | 1705 static Color initialTapHighlightColor(); |
| 1706 #if ENABLE(OILPAN) |
| 1707 static const FilterOperations& initialFilter(); |
| 1708 #else |
| 1706 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO
perations, ops, ()); return ops; } | 1709 static const FilterOperations& initialFilter() { DEFINE_STATIC_LOCAL(FilterO
perations, ops, ()); return ops; } |
| 1710 #endif |
| 1707 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } | 1711 static WebBlendMode initialBlendMode() { return WebBlendModeNormal; } |
| 1708 static EIsolation initialIsolation() { return IsolationAuto; } | 1712 static EIsolation initialIsolation() { return IsolationAuto; } |
| 1709 private: | 1713 private: |
| 1710 void setVisitedLinkColor(const Color&); | 1714 void setVisitedLinkColor(const Color&); |
| 1711 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBackgroundColor, v); } | 1715 void setVisitedLinkBackgroundColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBackgroundColor, v); } |
| 1712 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBorderLeftColor, v); } | 1716 void setVisitedLinkBorderLeftColor(const StyleColor& v) { SET_VAR(rareNonInh
eritedData, m_visitedLinkBorderLeftColor, v); } |
| 1713 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn
heritedData, m_visitedLinkBorderRightColor, v); } | 1717 void setVisitedLinkBorderRightColor(const StyleColor& v) { SET_VAR(rareNonIn
heritedData, m_visitedLinkBorderRightColor, v); } |
| 1714 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI
nheritedData, m_visitedLinkBorderBottomColor, v); } | 1718 void setVisitedLinkBorderBottomColor(const StyleColor& v) { SET_VAR(rareNonI
nheritedData, m_visitedLinkBorderBottomColor, v); } |
| 1715 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe
ritedData, m_visitedLinkBorderTopColor, v); } | 1719 void setVisitedLinkBorderTopColor(const StyleColor& v) { SET_VAR(rareNonInhe
ritedData, m_visitedLinkBorderTopColor, v); } |
| 1716 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri
tedData, m_visitedLinkOutlineColor, v); } | 1720 void setVisitedLinkOutlineColor(const StyleColor& v) { SET_VAR(rareNonInheri
tedData, m_visitedLinkOutlineColor, v); } |
| (...skipping 185 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1902 inline bool RenderStyle::hasPseudoElementStyle() const | 1906 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1903 { | 1907 { |
| 1904 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; | 1908 return noninherited_flags.pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1905 } | 1909 } |
| 1906 | 1910 |
| 1907 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1911 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1908 | 1912 |
| 1909 } // namespace blink | 1913 } // namespace blink |
| 1910 | 1914 |
| 1911 #endif // RenderStyle_h | 1915 #endif // RenderStyle_h |
| OLD | NEW |