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 710 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
721 EBoxAlignment boxAlign() const { return static_cast<EBoxAlignment>(rareNonIn
heritedData->m_deprecatedFlexibleBox->align); } | 721 EBoxAlignment boxAlign() const { return static_cast<EBoxAlignment>(rareNonIn
heritedData->m_deprecatedFlexibleBox->align); } |
722 EBoxDirection boxDirection() const { return static_cast<EBoxDirection>(inher
ited_flags._box_direction); } | 722 EBoxDirection boxDirection() const { return static_cast<EBoxDirection>(inher
ited_flags._box_direction); } |
723 float boxFlex() const { return rareNonInheritedData->m_deprecatedFlexibleBox
->flex; } | 723 float boxFlex() const { return rareNonInheritedData->m_deprecatedFlexibleBox
->flex; } |
724 unsigned int boxFlexGroup() const { return rareNonInheritedData->m_deprecate
dFlexibleBox->flex_group; } | 724 unsigned int boxFlexGroup() const { return rareNonInheritedData->m_deprecate
dFlexibleBox->flex_group; } |
725 EBoxLines boxLines() const { return static_cast<EBoxLines>(rareNonInheritedD
ata->m_deprecatedFlexibleBox->lines); } | 725 EBoxLines boxLines() const { return static_cast<EBoxLines>(rareNonInheritedD
ata->m_deprecatedFlexibleBox->lines); } |
726 unsigned int boxOrdinalGroup() const { return rareNonInheritedData->m_deprec
atedFlexibleBox->ordinal_group; } | 726 unsigned int boxOrdinalGroup() const { return rareNonInheritedData->m_deprec
atedFlexibleBox->ordinal_group; } |
727 EBoxOrient boxOrient() const { return static_cast<EBoxOrient>(rareNonInherit
edData->m_deprecatedFlexibleBox->orient); } | 727 EBoxOrient boxOrient() const { return static_cast<EBoxOrient>(rareNonInherit
edData->m_deprecatedFlexibleBox->orient); } |
728 EBoxPack boxPack() const { return static_cast<EBoxPack>(rareNonInheritedData
->m_deprecatedFlexibleBox->pack); } | 728 EBoxPack boxPack() const { return static_cast<EBoxPack>(rareNonInheritedData
->m_deprecatedFlexibleBox->pack); } |
729 | 729 |
730 int order() const { return rareNonInheritedData->m_order; } | 730 int order() const { return rareNonInheritedData->m_order; } |
| 731 const Vector<String>& callbackSelectors() const { return rareNonInheritedDat
a->m_callbackSelectors; } |
731 float flexGrow() const { return rareNonInheritedData->m_flexibleBox->m_flexG
row; } | 732 float flexGrow() const { return rareNonInheritedData->m_flexibleBox->m_flexG
row; } |
732 float flexShrink() const { return rareNonInheritedData->m_flexibleBox->m_fle
xShrink; } | 733 float flexShrink() const { return rareNonInheritedData->m_flexibleBox->m_fle
xShrink; } |
733 Length flexBasis() const { return rareNonInheritedData->m_flexibleBox->m_fle
xBasis; } | 734 Length flexBasis() const { return rareNonInheritedData->m_flexibleBox->m_fle
xBasis; } |
734 EAlignContent alignContent() const { return static_cast<EAlignContent>(rareN
onInheritedData->m_alignContent); } | 735 EAlignContent alignContent() const { return static_cast<EAlignContent>(rareN
onInheritedData->m_alignContent); } |
735 EAlignItems alignItems() const { return static_cast<EAlignItems>(rareNonInhe
ritedData->m_alignItems); } | 736 EAlignItems alignItems() const { return static_cast<EAlignItems>(rareNonInhe
ritedData->m_alignItems); } |
736 EAlignItems alignSelf() const { return static_cast<EAlignItems>(rareNonInher
itedData->m_alignSelf); } | 737 EAlignItems alignSelf() const { return static_cast<EAlignItems>(rareNonInher
itedData->m_alignSelf); } |
737 EFlexDirection flexDirection() const { return static_cast<EFlexDirection>(ra
reNonInheritedData->m_flexibleBox->m_flexDirection); } | 738 EFlexDirection flexDirection() const { return static_cast<EFlexDirection>(ra
reNonInheritedData->m_flexibleBox->m_flexDirection); } |
738 bool isColumnFlexDirection() const { return flexDirection() == FlowColumn ||
flexDirection() == FlowColumnReverse; } | 739 bool isColumnFlexDirection() const { return flexDirection() == FlowColumn ||
flexDirection() == FlowColumnReverse; } |
739 bool isReverseFlexDirection() const { return flexDirection() == FlowRowRever
se || flexDirection() == FlowColumnReverse; } | 740 bool isReverseFlexDirection() const { return flexDirection() == FlowRowRever
se || flexDirection() == FlowColumnReverse; } |
740 EFlexWrap flexWrap() const { return static_cast<EFlexWrap>(rareNonInheritedD
ata->m_flexibleBox->m_flexWrap); } | 741 EFlexWrap flexWrap() const { return static_cast<EFlexWrap>(rareNonInheritedD
ata->m_flexibleBox->m_flexWrap); } |
(...skipping 440 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1181 void setBoxOrdinalGroup(unsigned int og) { SET_VAR(rareNonInheritedData.acce
ss()->m_deprecatedFlexibleBox, ordinal_group, og); } | 1182 void setBoxOrdinalGroup(unsigned int og) { SET_VAR(rareNonInheritedData.acce
ss()->m_deprecatedFlexibleBox, ordinal_group, og); } |
1182 void setBoxOrient(EBoxOrient o) { SET_VAR(rareNonInheritedData.access()->m_d
eprecatedFlexibleBox, orient, o); } | 1183 void setBoxOrient(EBoxOrient o) { SET_VAR(rareNonInheritedData.access()->m_d
eprecatedFlexibleBox, orient, o); } |
1183 void setBoxPack(EBoxPack p) { SET_VAR(rareNonInheritedData.access()->m_depre
catedFlexibleBox, pack, p); } | 1184 void setBoxPack(EBoxPack p) { SET_VAR(rareNonInheritedData.access()->m_depre
catedFlexibleBox, pack, p); } |
1184 void setBoxShadow(PassOwnPtr<ShadowData>, bool add = false); | 1185 void setBoxShadow(PassOwnPtr<ShadowData>, bool add = false); |
1185 void setBoxReflect(PassRefPtr<StyleReflection> reflect) { if (rareNonInherit
edData->m_boxReflect != reflect) rareNonInheritedData.access()->m_boxReflect = r
eflect; } | 1186 void setBoxReflect(PassRefPtr<StyleReflection> reflect) { if (rareNonInherit
edData->m_boxReflect != reflect) rareNonInheritedData.access()->m_boxReflect = r
eflect; } |
1186 void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); } | 1187 void setBoxSizing(EBoxSizing s) { SET_VAR(m_box, m_boxSizing, s); } |
1187 void setFlexGrow(float f) { SET_VAR(rareNonInheritedData.access()->m_flexibl
eBox, m_flexGrow, f); } | 1188 void setFlexGrow(float f) { SET_VAR(rareNonInheritedData.access()->m_flexibl
eBox, m_flexGrow, f); } |
1188 void setFlexShrink(float f) { SET_VAR(rareNonInheritedData.access()->m_flexi
bleBox, m_flexShrink, f); } | 1189 void setFlexShrink(float f) { SET_VAR(rareNonInheritedData.access()->m_flexi
bleBox, m_flexShrink, f); } |
1189 void setFlexBasis(Length length) { SET_VAR(rareNonInheritedData.access()->m_
flexibleBox, m_flexBasis, length); } | 1190 void setFlexBasis(Length length) { SET_VAR(rareNonInheritedData.access()->m_
flexibleBox, m_flexBasis, length); } |
1190 void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, o); } | 1191 void setOrder(int o) { SET_VAR(rareNonInheritedData, m_order, o); } |
| 1192 void addCallbackSelector(const String& selector); |
1191 void setAlignContent(EAlignContent p) { SET_VAR(rareNonInheritedData, m_alig
nContent, p); } | 1193 void setAlignContent(EAlignContent p) { SET_VAR(rareNonInheritedData, m_alig
nContent, p); } |
1192 void setAlignItems(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignIte
ms, a); } | 1194 void setAlignItems(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignIte
ms, a); } |
1193 void setAlignSelf(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignSelf
, a); } | 1195 void setAlignSelf(EAlignItems a) { SET_VAR(rareNonInheritedData, m_alignSelf
, a); } |
1194 void setFlexDirection(EFlexDirection direction) { SET_VAR(rareNonInheritedDa
ta.access()->m_flexibleBox, m_flexDirection, direction); } | 1196 void setFlexDirection(EFlexDirection direction) { SET_VAR(rareNonInheritedDa
ta.access()->m_flexibleBox, m_flexDirection, direction); } |
1195 void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
xibleBox, m_flexWrap, w); } | 1197 void setFlexWrap(EFlexWrap w) { SET_VAR(rareNonInheritedData.access()->m_fle
xibleBox, m_flexWrap, w); } |
1196 void setJustifyContent(EJustifyContent p) { SET_VAR(rareNonInheritedData, m_
justifyContent, p); } | 1198 void setJustifyContent(EJustifyContent p) { SET_VAR(rareNonInheritedData, m_
justifyContent, p); } |
1197 void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
tedData.access()->m_grid, m_gridAutoColumns, length); } | 1199 void setGridAutoColumns(const GridTrackSize& length) { SET_VAR(rareNonInheri
tedData.access()->m_grid, m_gridAutoColumns, length); } |
1198 void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
Data.access()->m_grid, m_gridAutoRows, length); } | 1200 void setGridAutoRows(const GridTrackSize& length) { SET_VAR(rareNonInherited
Data.access()->m_grid, m_gridAutoRows, length); } |
1199 void setGridDefinitionColumns(const Vector<GridTrackSize>& lengths) { SET_VA
R(rareNonInheritedData.access()->m_grid, m_gridDefinitionColumns, lengths); } | 1201 void setGridDefinitionColumns(const Vector<GridTrackSize>& lengths) { SET_VA
R(rareNonInheritedData.access()->m_grid, m_gridDefinitionColumns, lengths); } |
1200 void setGridDefinitionRows(const Vector<GridTrackSize>& lengths) { SET_VAR(r
areNonInheritedData.access()->m_grid, m_gridDefinitionRows, lengths); } | 1202 void setGridDefinitionRows(const Vector<GridTrackSize>& lengths) { SET_VAR(r
areNonInheritedData.access()->m_grid, m_gridDefinitionRows, lengths); } |
(...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1772 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) | 1774 if (compareEqual(rareInheritedData->m_textOrientation, textOrientation)) |
1773 return false; | 1775 return false; |
1774 | 1776 |
1775 rareInheritedData.access()->m_textOrientation = textOrientation; | 1777 rareInheritedData.access()->m_textOrientation = textOrientation; |
1776 return true; | 1778 return true; |
1777 } | 1779 } |
1778 | 1780 |
1779 } // namespace WebCore | 1781 } // namespace WebCore |
1780 | 1782 |
1781 #endif // RenderStyle_h | 1783 #endif // RenderStyle_h |
OLD | NEW |