| 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 652 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 663 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in
herited_flags._pointerEvents); } | 663 EPointerEvents pointerEvents() const { return static_cast<EPointerEvents>(in
herited_flags._pointerEvents); } |
| 664 const CSSAnimationData* animations() const { return rareNonInheritedData->m_
animations.get(); } | 664 const CSSAnimationData* animations() const { return rareNonInheritedData->m_
animations.get(); } |
| 665 const CSSTransitionData* transitions() const { return rareNonInheritedData->
m_transitions.get(); } | 665 const CSSTransitionData* transitions() const { return rareNonInheritedData->
m_transitions.get(); } |
| 666 | 666 |
| 667 CSSAnimationData& accessAnimations(); | 667 CSSAnimationData& accessAnimations(); |
| 668 CSSTransitionData& accessTransitions(); | 668 CSSTransitionData& accessTransitions(); |
| 669 | 669 |
| 670 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
yle3D>(rareNonInheritedData->m_transformStyle3D); } | 670 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
yle3D>(rareNonInheritedData->m_transformStyle3D); } |
| 671 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
= TransformStyle3DPreserve3D; } | 671 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
= TransformStyle3DPreserve3D; } |
| 672 | 672 |
| 673 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
eVisibility>(rareNonInheritedData->m_backfaceVisibility); } | |
| 674 float perspective() const { return rareNonInheritedData->m_perspective; } | 673 float perspective() const { return rareNonInheritedData->m_perspective; } |
| 675 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
; } | 674 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
; } |
| 676 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe
rspectiveOriginX; } | 675 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe
rspectiveOriginX; } |
| 677 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe
rspectiveOriginY; } | 676 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe
rspectiveOriginY; } |
| 678 | 677 |
| 679 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC
ontain; } | 678 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC
ontain; } |
| 680 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo
r; } | 679 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo
r; } |
| 681 | 680 |
| 682 EImageRendering imageRendering() const { return static_cast<EImageRendering>
(rareInheritedData->m_imageRendering); } | 681 EImageRendering imageRendering() const { return static_cast<EImageRendering>
(rareInheritedData->m_imageRendering); } |
| 683 | 682 |
| (...skipping 262 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 946 { | 945 { |
| 947 rareNonInheritedData.access()->m_animations.clear(); | 946 rareNonInheritedData.access()->m_animations.clear(); |
| 948 } | 947 } |
| 949 | 948 |
| 950 void clearTransitions() | 949 void clearTransitions() |
| 951 { | 950 { |
| 952 rareNonInheritedData.access()->m_transitions.clear(); | 951 rareNonInheritedData.access()->m_transitions.clear(); |
| 953 } | 952 } |
| 954 | 953 |
| 955 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } | 954 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } |
| 956 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } | |
| 957 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective,
p); } | 955 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective,
p); } |
| 958 void setPerspectiveOriginX(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginX, l); } | 956 void setPerspectiveOriginX(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginX, l); } |
| 959 void setPerspectiveOriginY(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginY, l); } | 957 void setPerspectiveOriginY(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginY, l); } |
| 960 | 958 |
| 961 void setLineBoxContain(LineBoxContain c) { SET_VAR(rareInheritedData, m_line
BoxContain, c); } | 959 void setLineBoxContain(LineBoxContain c) { SET_VAR(rareInheritedData, m_line
BoxContain, c); } |
| 962 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } | 960 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } |
| 963 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } | 961 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } |
| 964 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } | 962 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } |
| 965 | 963 |
| 966 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } | 964 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1100 static Order initialRTLOrdering() { return LogicalOrder; } | 1098 static Order initialRTLOrdering() { return LogicalOrder; } |
| 1101 static float initialTextStrokeWidth() { return 0; } | 1099 static float initialTextStrokeWidth() { return 0; } |
| 1102 static unsigned short initialColumnCount() { return 1; } | 1100 static unsigned short initialColumnCount() { return 1; } |
| 1103 static ColumnFill initialColumnFill() { return ColumnFillBalance; } | 1101 static ColumnFill initialColumnFill() { return ColumnFillBalance; } |
| 1104 static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T
ransformOperations, ops, ()); return ops; } | 1102 static const TransformOperations& initialTransform() { DEFINE_STATIC_LOCAL(T
ransformOperations, ops, ()); return ops; } |
| 1105 static Length initialTransformOriginX() { return Length(50.0, Percent); } | 1103 static Length initialTransformOriginX() { return Length(50.0, Percent); } |
| 1106 static Length initialTransformOriginY() { return Length(50.0, Percent); } | 1104 static Length initialTransformOriginY() { return Length(50.0, Percent); } |
| 1107 static EPointerEvents initialPointerEvents() { return PE_AUTO; } | 1105 static EPointerEvents initialPointerEvents() { return PE_AUTO; } |
| 1108 static float initialTransformOriginZ() { return 0; } | 1106 static float initialTransformOriginZ() { return 0; } |
| 1109 static ETransformStyle3D initialTransformStyle3D() { return TransformStyle3D
Flat; } | 1107 static ETransformStyle3D initialTransformStyle3D() { return TransformStyle3D
Flat; } |
| 1110 static EBackfaceVisibility initialBackfaceVisibility() { return BackfaceVisi
bilityVisible; } | |
| 1111 static float initialPerspective() { return 0; } | 1108 static float initialPerspective() { return 0; } |
| 1112 static Length initialPerspectiveOriginX() { return Length(50.0, Percent); } | 1109 static Length initialPerspectiveOriginX() { return Length(50.0, Percent); } |
| 1113 static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } | 1110 static Length initialPerspectiveOriginY() { return Length(50.0, Percent); } |
| 1114 static Color initialBackgroundColor() { return Color::transparent; } | 1111 static Color initialBackgroundColor() { return Color::transparent; } |
| 1115 static TextEmphasisFill initialTextEmphasisFill() { return TextEmphasisFillF
illed; } | 1112 static TextEmphasisFill initialTextEmphasisFill() { return TextEmphasisFillF
illed; } |
| 1116 static TextEmphasisMark initialTextEmphasisMark() { return TextEmphasisMarkN
one; } | 1113 static TextEmphasisMark initialTextEmphasisMark() { return TextEmphasisMarkN
one; } |
| 1117 static const AtomicString& initialTextEmphasisCustomMark() { return nullAtom
; } | 1114 static const AtomicString& initialTextEmphasisCustomMark() { return nullAtom
; } |
| 1118 static TextEmphasisPosition initialTextEmphasisPosition() { return TextEmpha
sisPositionOver; } | 1115 static TextEmphasisPosition initialTextEmphasisPosition() { return TextEmpha
sisPositionOver; } |
| 1119 static LineBoxContain initialLineBoxContain() { return LineBoxContainBlock |
LineBoxContainInline | LineBoxContainReplaced; } | 1116 static LineBoxContain initialLineBoxContain() { return LineBoxContainBlock |
LineBoxContainInline | LineBoxContainReplaced; } |
| 1120 static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft
; } | 1117 static ImageOrientationEnum initialImageOrientation() { return OriginTopLeft
; } |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1203 | 1200 |
| 1204 rareInheritedData.access()->m_textOrientation = textOrientation; | 1201 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1205 return true; | 1202 return true; |
| 1206 } | 1203 } |
| 1207 | 1204 |
| 1208 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1205 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1209 | 1206 |
| 1210 } // namespace blink | 1207 } // namespace blink |
| 1211 | 1208 |
| 1212 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1209 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
| OLD | NEW |