| 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 703 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 EBoxAlignment boxAlign() const { return static_cast<EBoxAlignment>(rareNonIn
heritedData->m_deprecatedFlexibleBox->align); } | 714 EBoxAlignment boxAlign() const { return static_cast<EBoxAlignment>(rareNonIn
heritedData->m_deprecatedFlexibleBox->align); } |
| 715 EBoxDirection boxDirection() const { return static_cast<EBoxDirection>(inher
ited_flags._box_direction); } | 715 EBoxDirection boxDirection() const { return static_cast<EBoxDirection>(inher
ited_flags._box_direction); } |
| 716 float boxFlex() const { return rareNonInheritedData->m_deprecatedFlexibleBox
->flex; } | 716 float boxFlex() const { return rareNonInheritedData->m_deprecatedFlexibleBox
->flex; } |
| 717 unsigned int boxFlexGroup() const { return rareNonInheritedData->m_deprecate
dFlexibleBox->flex_group; } | 717 unsigned int boxFlexGroup() const { return rareNonInheritedData->m_deprecate
dFlexibleBox->flex_group; } |
| 718 EBoxLines boxLines() const { return static_cast<EBoxLines>(rareNonInheritedD
ata->m_deprecatedFlexibleBox->lines); } | 718 EBoxLines boxLines() const { return static_cast<EBoxLines>(rareNonInheritedD
ata->m_deprecatedFlexibleBox->lines); } |
| 719 unsigned int boxOrdinalGroup() const { return rareNonInheritedData->m_deprec
atedFlexibleBox->ordinal_group; } | 719 unsigned int boxOrdinalGroup() const { return rareNonInheritedData->m_deprec
atedFlexibleBox->ordinal_group; } |
| 720 EBoxOrient boxOrient() const { return static_cast<EBoxOrient>(rareNonInherit
edData->m_deprecatedFlexibleBox->orient); } | 720 EBoxOrient boxOrient() const { return static_cast<EBoxOrient>(rareNonInherit
edData->m_deprecatedFlexibleBox->orient); } |
| 721 EBoxPack boxPack() const { return static_cast<EBoxPack>(rareNonInheritedData
->m_deprecatedFlexibleBox->pack); } | 721 EBoxPack boxPack() const { return static_cast<EBoxPack>(rareNonInheritedData
->m_deprecatedFlexibleBox->pack); } |
| 722 | 722 |
| 723 int order() const { return rareNonInheritedData->m_order; } | 723 int order() const { return rareNonInheritedData->m_order; } |
| 724 const Vector<String>& callbackSelectors() const { return rareNonInheritedDat
a->m_callbackSelectors; } |
| 724 float flexGrow() const { return rareNonInheritedData->m_flexibleBox->m_flexG
row; } | 725 float flexGrow() const { return rareNonInheritedData->m_flexibleBox->m_flexG
row; } |
| 725 float flexShrink() const { return rareNonInheritedData->m_flexibleBox->m_fle
xShrink; } | 726 float flexShrink() const { return rareNonInheritedData->m_flexibleBox->m_fle
xShrink; } |
| 726 Length flexBasis() const { return rareNonInheritedData->m_flexibleBox->m_fle
xBasis; } | 727 Length flexBasis() const { return rareNonInheritedData->m_flexibleBox->m_fle
xBasis; } |
| 727 EAlignContent alignContent() const { return static_cast<EAlignContent>(rareN
onInheritedData->m_alignContent); } | 728 EAlignContent alignContent() const { return static_cast<EAlignContent>(rareN
onInheritedData->m_alignContent); } |
| 728 EAlignItems alignItems() const { return static_cast<EAlignItems>(rareNonInhe
ritedData->m_alignItems); } | 729 EAlignItems alignItems() const { return static_cast<EAlignItems>(rareNonInhe
ritedData->m_alignItems); } |
| 729 EAlignItems alignSelf() const { return static_cast<EAlignItems>(rareNonInher
itedData->m_alignSelf); } | 730 EAlignItems alignSelf() const { return static_cast<EAlignItems>(rareNonInher
itedData->m_alignSelf); } |
| 730 EFlexDirection flexDirection() const { return static_cast<EFlexDirection>(ra
reNonInheritedData->m_flexibleBox->m_flexDirection); } | 731 EFlexDirection flexDirection() const { return static_cast<EFlexDirection>(ra
reNonInheritedData->m_flexibleBox->m_flexDirection); } |
| 731 bool isColumnFlexDirection() const { return flexDirection() == FlowColumn ||
flexDirection() == FlowColumnReverse; } | 732 bool isColumnFlexDirection() const { return flexDirection() == FlowColumn ||
flexDirection() == FlowColumnReverse; } |
| 732 bool isReverseFlexDirection() const { return flexDirection() == FlowRowRever
se || flexDirection() == FlowColumnReverse; } | 733 bool isReverseFlexDirection() const { return flexDirection() == FlowRowRever
se || flexDirection() == FlowColumnReverse; } |
| 733 EFlexWrap flexWrap() const { return static_cast<EFlexWrap>(rareNonInheritedD
ata->m_flexibleBox->m_flexWrap); } | 734 EFlexWrap flexWrap() const { return static_cast<EFlexWrap>(rareNonInheritedD
ata->m_flexibleBox->m_flexWrap); } |
| (...skipping 433 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1167 void setBoxOrdinalGroup(unsigned int og) { SET_VAR(rareNonInheritedData.acce
ss()->m_deprecatedFlexibleBox, ordinal_group, og); } | 1168 void setBoxOrdinalGroup(unsigned int og) { SET_VAR(rareNonInheritedData.acce
ss()->m_deprecatedFlexibleBox, ordinal_group, og); } |
| 1168 void setBoxOrient(EBoxOrient o) { SET_VAR(rareNonInheritedData.access()->m_d
eprecatedFlexibleBox, orient, o); } | 1169 void setBoxOrient(EBoxOrient o) { SET_VAR(rareNonInheritedData.access()->m_d
eprecatedFlexibleBox, orient, o); } |
| 1169 void setBoxPack(EBoxPack p) { SET_VAR(rareNonInheritedData.access()->m_depre
catedFlexibleBox, pack, p); } | 1170 void setBoxPack(EBoxPack p) { SET_VAR(rareNonInheritedData.access()->m_depre
catedFlexibleBox, pack, p); } |
| 1170 void setBoxShadow(PassOwnPtr<ShadowData>, bool add = false); | 1171 void setBoxShadow(PassOwnPtr<ShadowData>, bool add = false); |
| 1171 void setBoxReflect(PassRefPtr<StyleReflection> reflect) { if (rareNonInherit
edData->m_boxReflect != reflect) rareNonInheritedData.access()->m_boxReflect = r
eflect; } | 1172 void setBoxReflect(PassRefPtr<StyleReflection> reflect) { if (rareNonInherit
edData->m_boxReflect != reflect) rareNonInheritedData.access()->m_boxReflect = r
eflect; } |
| 1172 void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); } | 1173 void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); } |
| 1173 void setFlexGrow(float f) { SET_VAR(rareNonInheritedData.access()->m_flexibl
eBox, m_flexGrow, f); } | 1174 void setFlexGrow(float f) { SET_VAR(rareNonInheritedData.access()->m_flexibl
eBox, m_flexGrow, f); } |
| 1174 void setFlexShrink(float f) { SET_VAR(rareNonInheritedData.access()->m_flexi
bleBox, m_flexShrink, f); } | 1175 void setFlexShrink(float f) { SET_VAR(rareNonInheritedData.access()->m_flexi
bleBox, m_flexShrink, f); } |
| 1175 void setFlexBasis(Length length) { SET_VAR(rareNonInheritedData.access()->m_
flexibleBox, m_flexBasis, length); } | 1176 void setFlexBasis(Length length) { SET_VAR(rareNonInheritedData.access()->m_
flexibleBox, m_flexBasis, length); } |
| 1176 void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, o); } | 1177 void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, o); } |
| 1178 void addCallbackSelector(const String& selector); |
| 1177 void setAlignContent(EAlignContent p) { SET_VAR(rareNonInheritedData, m_alig
nContent, p); } | 1179 void setAlignContent(EAlignContent p) { SET_VAR(rareNonInheritedData, m_alig
nContent, p); } |
| 1178 void setAlignItems(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignIte
ms, a); } | 1180 void setAlignItems(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignIte
ms, a); } |
| 1179 void setAlignSelf(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignSelf
, a); } | 1181 void setAlignSelf(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignSelf
, a); } |
| 1180 void setFlexDirection(EFlexDirection direction) { SET_VAR(rareNonInheritedDa
ta.access()->m_flexibleBox, m_flexDirection, direction); } | 1182 void setFlexDirection(EFlexDirection direction) { SET_VAR(rareNonInheritedDa
ta.access()->m_flexibleBox, m_flexDirection, direction); } |
| 1181 void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
xibleBox, m_flexWrap, w); } | 1183 void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
xibleBox, m_flexWrap, w); } |
| 1182 void setJustifyContent(EJustifyContent p) { SET_VAR(rareNonInheritedData, m_
justifyContent, p); } | 1184 void setJustifyContent(EJustifyContent p) { SET_VAR(rareNonInheritedData, m_
justifyContent, p); } |
| 1183 void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
tedData.access()->m_grid, m_gridAutoColumns, length); } | 1185 void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
tedData.access()->m_grid, m_gridAutoColumns, length); } |
| 1184 void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
Data.access()->m_grid, m_gridAutoRows, length); } | 1186 void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
Data.access()->m_grid, m_gridAutoRows, length); } |
| 1185 void setGridDefinitionColumns(const Vector<GridTrackSize>& lengths) { SET_VA
R(rareNonInheritedData.access()->m_grid, m_gridDefinitionColumns, lengths); } | 1187 void setGridDefinitionColumns(const Vector<GridTrackSize>& lengths) { SET_VA
R(rareNonInheritedData.access()->m_grid, m_gridDefinitionColumns, lengths); } |
| 1186 void setGridDefinitionRows(const Vector<GridTrackSize>& lengths) { SET_VAR(r
areNonInheritedData.access()->m_grid, m_gridDefinitionRows, lengths); } | 1188 void setGridDefinitionRows(const Vector<GridTrackSize>& lengths) { SET_VAR(r
areNonInheritedData.access()->m_grid, m_gridDefinitionRows, lengths); } |
| (...skipping 559 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1746 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1748 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) |
| 1747 return false; | 1749 return false; |
| 1748 | 1750 |
| 1749 rareInheritedData.access()->m_textOrientation = textOrientation; | 1751 rareInheritedData.access()->m_textOrientation = textOrientation; |
| 1750 return true; | 1752 return true; |
| 1751 } | 1753 } |
| 1752 | 1754 |
| 1753 } // namespace WebCore | 1755 } // namespace WebCore |
| 1754 | 1756 |
| 1755 #endif // RenderStyle_h | 1757 #endif // RenderStyle_h |
| OLD | NEW |