| 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 949 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 960 | 960 |
| 961 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } | 961 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } |
| 962 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } | 962 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } |
| 963 | 963 |
| 964 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } | 964 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } |
| 965 | 965 |
| 966 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 966 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
| 967 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 967 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
| 968 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 968 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
| 969 bool hasWillChangeCompositingHint() const; | 969 bool hasWillChangeCompositingHint() const; |
| 970 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } |
| 970 | 971 |
| 971 // attribute setter methods | 972 // attribute setter methods |
| 972 | 973 |
| 973 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } | 974 void setDisplay(EDisplay v) { noninherited_flags._effectiveDisplay = v; } |
| 974 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay =
v; } | 975 void setOriginalDisplay(EDisplay v) { noninherited_flags._originalDisplay =
v; } |
| 975 void setPosition(EPosition v) { noninherited_flags._position = v; } | 976 void setPosition(EPosition v) { noninherited_flags._position = v; } |
| 976 void setFloating(EFloat v) { noninherited_flags._floating = v; } | 977 void setFloating(EFloat v) { noninherited_flags._floating = v; } |
| 977 | 978 |
| 978 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } | 979 void setLeft(Length v) { SET_VAR(surround, offset.m_left, v); } |
| 979 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } | 980 void setRight(Length v) { SET_VAR(surround, offset.m_right, v); } |
| (...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1389 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } | 1390 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } |
| 1390 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedDat
a, textSecurity, aTextSecurity); } | 1391 void setTextSecurity(ETextSecurity aTextSecurity) { SET_VAR(rareInheritedDat
a, textSecurity, aTextSecurity); } |
| 1391 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } | 1392 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } |
| 1392 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } | 1393 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } |
| 1393 | 1394 |
| 1394 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s
crollBehavior, b); } | 1395 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s
crollBehavior, b); } |
| 1395 | 1396 |
| 1396 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } | 1397 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } |
| 1397 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } | 1398 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } |
| 1398 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce
ss()->m_willChange, m_scrollPosition, b); } | 1399 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce
ss()->m_willChange, m_scrollPosition, b); } |
| 1400 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } |
| 1399 | 1401 |
| 1400 const SVGRenderStyle* svgStyle() const { return m_svgStyle.get(); } | 1402 const SVGRenderStyle* svgStyle() const { return m_svgStyle.get(); } |
| 1401 SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); } | 1403 SVGRenderStyle* accessSVGStyle() { return m_svgStyle.access(); } |
| 1402 | 1404 |
| 1403 const SVGPaint::SVGPaintType& fillPaintType() const { return svgStyle()->fil
lPaintType(); } | 1405 const SVGPaint::SVGPaintType& fillPaintType() const { return svgStyle()->fil
lPaintType(); } |
| 1404 Color fillPaintColor() const { return svgStyle()->fillPaintColor(); } | 1406 Color fillPaintColor() const { return svgStyle()->fillPaintColor(); } |
| 1405 void setFillPaintColor(const Color& c) { accessSVGStyle()->setFillPaint(SVGP
aint::SVG_PAINTTYPE_RGBCOLOR, c, ""); } | 1407 void setFillPaintColor(const Color& c) { accessSVGStyle()->setFillPaint(SVGP
aint::SVG_PAINTTYPE_RGBCOLOR, c, ""); } |
| 1406 float fillOpacity() const { return svgStyle()->fillOpacity(); } | 1408 float fillOpacity() const { return svgStyle()->fillOpacity(); } |
| 1407 void setFillOpacity(float f) { accessSVGStyle()->setFillOpacity(f); } | 1409 void setFillOpacity(float f) { accessSVGStyle()->setFillOpacity(f); } |
| 1408 | 1410 |
| (...skipping 467 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1876 inline bool RenderStyle::hasPseudoElementStyle() const | 1878 inline bool RenderStyle::hasPseudoElementStyle() const |
| 1877 { | 1879 { |
| 1878 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; | 1880 return noninherited_flags._pseudoBits & PSEUDO_ELEMENT_MASK; |
| 1879 } | 1881 } |
| 1880 | 1882 |
| 1881 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1883 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1882 | 1884 |
| 1883 } // namespace WebCore | 1885 } // namespace WebCore |
| 1884 | 1886 |
| 1885 #endif // RenderStyle_h | 1887 #endif // RenderStyle_h |
| OLD | NEW |