| 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 760 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 771 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection(); } | 771 bool shouldPlaceBlockDirectionScrollbarOnLogicalLeft() const { return !isLef
tToRightDirection(); } |
| 772 | 772 |
| 773 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } | 773 TouchAction touchAction() const { return static_cast<TouchAction>(rareNonInh
eritedData->m_touchAction); } |
| 774 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } | 774 TouchActionDelay touchActionDelay() const { return static_cast<TouchActionDe
lay>(rareInheritedData->m_touchActionDelay); } |
| 775 | 775 |
| 776 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } | 776 ScrollBehavior scrollBehavior() const { return static_cast<ScrollBehavior>(r
areNonInheritedData->m_scrollBehavior); } |
| 777 | 777 |
| 778 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } | 778 const Vector<CSSPropertyID>& willChangeProperties() const { return rareNonIn
heritedData->m_willChange->m_properties; } |
| 779 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } | 779 bool willChangeContents() const { return rareNonInheritedData->m_willChange-
>m_contents; } |
| 780 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } | 780 bool willChangeScrollPosition() const { return rareNonInheritedData->m_willC
hange->m_scrollPosition; } |
| 781 bool hasWillChangeCompositingHint() const; | |
| 782 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } | 781 bool subtreeWillChangeContents() const { return rareInheritedData->m_subtree
WillChangeContents; } |
| 783 | 782 |
| 784 // attribute setter methods | 783 // attribute setter methods |
| 785 | 784 |
| 786 void setDisplay(EDisplay v) { noninherited_flags.effectiveDisplay = v; } | 785 void setDisplay(EDisplay v) { noninherited_flags.effectiveDisplay = v; } |
| 787 void setOriginalDisplay(EDisplay v) { noninherited_flags.originalDisplay = v
; } | 786 void setOriginalDisplay(EDisplay v) { noninherited_flags.originalDisplay = v
; } |
| 788 void setPosition(EPosition v) { noninherited_flags.position = v; } | 787 void setPosition(EPosition v) { noninherited_flags.position = v; } |
| 789 | 788 |
| 790 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); } | 789 void setLeft(const Length& v) { SET_VAR(surround, offset.m_left, v); } |
| 791 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); } | 790 void setRight(const Length& v) { SET_VAR(surround, offset.m_right, v); } |
| (...skipping 321 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1113 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } | 1112 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } |
| 1114 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } | 1113 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } |
| 1115 | 1114 |
| 1116 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s
crollBehavior, b); } | 1115 void setScrollBehavior(ScrollBehavior b) { SET_VAR(rareNonInheritedData, m_s
crollBehavior, b); } |
| 1117 | 1116 |
| 1118 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } | 1117 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } |
| 1119 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } | 1118 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } |
| 1120 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce
ss()->m_willChange, m_scrollPosition, b); } | 1119 void setWillChangeScrollPosition(bool b) { SET_VAR(rareNonInheritedData.acce
ss()->m_willChange, m_scrollPosition, b); } |
| 1121 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } | 1120 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } |
| 1122 | 1121 |
| 1123 bool requiresAcceleratedCompositingForExternalReasons(bool b) { return rareN
onInheritedData->m_requiresAcceleratedCompositingForExternalReasons; } | |
| 1124 void setRequiresAcceleratedCompositingForExternalReasons(bool b) { SET_VAR(r
areNonInheritedData, m_requiresAcceleratedCompositingForExternalReasons, b); } | |
| 1125 | |
| 1126 void setClipPath(PassRefPtr<ClipPathOperation> operation) | 1122 void setClipPath(PassRefPtr<ClipPathOperation> operation) |
| 1127 { | 1123 { |
| 1128 if (rareNonInheritedData->m_clipPath != operation) | 1124 if (rareNonInheritedData->m_clipPath != operation) |
| 1129 rareNonInheritedData.access()->m_clipPath = operation; | 1125 rareNonInheritedData.access()->m_clipPath = operation; |
| 1130 } | 1126 } |
| 1131 ClipPathOperation* clipPath() const { return rareNonInheritedData->m_clipPat
h.get(); } | 1127 ClipPathOperation* clipPath() const { return rareNonInheritedData->m_clipPat
h.get(); } |
| 1132 | 1128 |
| 1133 static ClipPathOperation* initialClipPath() { return 0; } | 1129 static ClipPathOperation* initialClipPath() { return 0; } |
| 1134 | 1130 |
| 1135 const CounterDirectiveMap* counterDirectives() const; | 1131 const CounterDirectiveMap* counterDirectives() const; |
| (...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1378 | 1374 |
| 1379 rareInheritedData.access()->m_textOrientation = textOrientation; | 1375 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1380 return true; | 1376 return true; |
| 1381 } | 1377 } |
| 1382 | 1378 |
| 1383 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1379 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1384 | 1380 |
| 1385 } // namespace blink | 1381 } // namespace blink |
| 1386 | 1382 |
| 1387 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1383 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
| OLD | NEW |