| 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 658 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 669 CSSTransitionData& accessTransitions(); | 669 CSSTransitionData& accessTransitions(); |
| 670 | 670 |
| 671 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
yle3D>(rareNonInheritedData->m_transformStyle3D); } | 671 ETransformStyle3D transformStyle3D() const { return static_cast<ETransformSt
yle3D>(rareNonInheritedData->m_transformStyle3D); } |
| 672 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
= TransformStyle3DPreserve3D; } | 672 bool preserves3D() const { return rareNonInheritedData->m_transformStyle3D =
= TransformStyle3DPreserve3D; } |
| 673 | 673 |
| 674 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
eVisibility>(rareNonInheritedData->m_backfaceVisibility); } | 674 EBackfaceVisibility backfaceVisibility() const { return static_cast<EBackfac
eVisibility>(rareNonInheritedData->m_backfaceVisibility); } |
| 675 float perspective() const { return rareNonInheritedData->m_perspective; } | 675 float perspective() const { return rareNonInheritedData->m_perspective; } |
| 676 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
; } | 676 bool hasPerspective() const { return rareNonInheritedData->m_perspective > 0
; } |
| 677 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe
rspectiveOriginX; } | 677 const Length& perspectiveOriginX() const { return rareNonInheritedData->m_pe
rspectiveOriginX; } |
| 678 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe
rspectiveOriginY; } | 678 const Length& perspectiveOriginY() const { return rareNonInheritedData->m_pe
rspectiveOriginY; } |
| 679 const LengthSize& pageSize() const { return rareNonInheritedData->m_pageSize
; } | |
| 680 PageSizeType pageSizeType() const { return static_cast<PageSizeType>(rareNon
InheritedData->m_pageSizeType); } | |
| 681 | 679 |
| 682 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC
ontain; } | 680 LineBoxContain lineBoxContain() const { return rareInheritedData->m_lineBoxC
ontain; } |
| 683 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo
r; } | 681 Color tapHighlightColor() const { return rareInheritedData->tapHighlightColo
r; } |
| 684 | 682 |
| 685 EImageRendering imageRendering() const { return static_cast<EImageRendering>
(rareInheritedData->m_imageRendering); } | 683 EImageRendering imageRendering() const { return static_cast<EImageRendering>
(rareInheritedData->m_imageRendering); } |
| 686 | 684 |
| 687 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_
filter.access()->m_operations; } | 685 FilterOperations& mutableFilter() { return rareNonInheritedData.access()->m_
filter.access()->m_operations; } |
| 688 const FilterOperations& filter() const { return rareNonInheritedData->m_filt
er->m_operations; } | 686 const FilterOperations& filter() const { return rareNonInheritedData->m_filt
er->m_operations; } |
| 689 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation
s.operations().isEmpty(); } | 687 bool hasFilter() const { return !rareNonInheritedData->m_filter->m_operation
s.operations().isEmpty(); } |
| 690 | 688 |
| (...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 954 void clearTransitions() | 952 void clearTransitions() |
| 955 { | 953 { |
| 956 rareNonInheritedData.access()->m_transitions.clear(); | 954 rareNonInheritedData.access()->m_transitions.clear(); |
| 957 } | 955 } |
| 958 | 956 |
| 959 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } | 957 void setTransformStyle3D(ETransformStyle3D b) { SET_VAR(rareNonInheritedData
, m_transformStyle3D, b); } |
| 960 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } | 958 void setBackfaceVisibility(EBackfaceVisibility b) { SET_VAR(rareNonInherited
Data, m_backfaceVisibility, b); } |
| 961 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective,
p); } | 959 void setPerspective(float p) { SET_VAR(rareNonInheritedData, m_perspective,
p); } |
| 962 void setPerspectiveOriginX(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginX, l); } | 960 void setPerspectiveOriginX(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginX, l); } |
| 963 void setPerspectiveOriginY(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginY, l); } | 961 void setPerspectiveOriginY(const Length& l) { SET_VAR(rareNonInheritedData,
m_perspectiveOriginY, l); } |
| 964 void setPageSize(const LengthSize& s) { SET_VAR(rareNonInheritedData, m_page
Size, s); } | |
| 965 void setPageSizeType(PageSizeType t) { SET_VAR(rareNonInheritedData, m_pageS
izeType, t); } | |
| 966 void resetPageSizeType() { SET_VAR(rareNonInheritedData, m_pageSizeType, PAG
E_SIZE_AUTO); } | |
| 967 | 962 |
| 968 void setLineBoxContain(LineBoxContain c) { SET_VAR(rareInheritedData, m_line
BoxContain, c); } | 963 void setLineBoxContain(LineBoxContain c) { SET_VAR(rareInheritedData, m_line
BoxContain, c); } |
| 969 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } | 964 void setTapHighlightColor(const Color& c) { SET_VAR(rareInheritedData, tapHi
ghlightColor, c); } |
| 970 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } | 965 void setTouchAction(TouchAction t) { SET_VAR(rareNonInheritedData, m_touchAc
tion, t); } |
| 971 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } | 966 void setTouchActionDelay(TouchActionDelay t) { SET_VAR(rareInheritedData, m_
touchActionDelay, t); } |
| 972 | 967 |
| 973 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } | 968 void setWillChangeProperties(const Vector<CSSPropertyID>& properties) { SET_
VAR(rareNonInheritedData.access()->m_willChange, m_properties, properties); } |
| 974 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } | 969 void setWillChangeContents(bool b) { SET_VAR(rareNonInheritedData.access()->
m_willChange, m_contents, b); } |
| 975 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } | 970 void setSubtreeWillChangeContents(bool b) { SET_VAR(rareInheritedData, m_sub
treeWillChangeContents, b); } |
| 976 | 971 |
| (...skipping 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1211 | 1206 |
| 1212 rareInheritedData.access()->m_textOrientation = textOrientation; | 1207 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1213 return true; | 1208 return true; |
| 1214 } | 1209 } |
| 1215 | 1210 |
| 1216 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); | 1211 float calcBorderRadiiConstraintScaleFor(const FloatRect&, const FloatRoundedRect
::Radii&); |
| 1217 | 1212 |
| 1218 } // namespace blink | 1213 } // namespace blink |
| 1219 | 1214 |
| 1220 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ | 1215 #endif // SKY_ENGINE_CORE_RENDERING_STYLE_RENDERSTYLE_H_ |
| OLD | NEW |