OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 1126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1137 | 1137 |
1138 // This is true if we have an out-of-flow positioned descendant whose | 1138 // This is true if we have an out-of-flow positioned descendant whose |
1139 // containing block is our ancestor. If this is the case, the descendant | 1139 // containing block is our ancestor. If this is the case, the descendant |
1140 // may fall outside of our clip preventing things like opting into | 1140 // may fall outside of our clip preventing things like opting into |
1141 // composited scrolling (which causes clipping of all descendants). | 1141 // composited scrolling (which causes clipping of all descendants). |
1142 unsigned m_hasUnclippedDescendant : 1; | 1142 unsigned m_hasUnclippedDescendant : 1; |
1143 | 1143 |
1144 unsigned m_isUnclippedDescendant : 1; | 1144 unsigned m_isUnclippedDescendant : 1; |
1145 | 1145 |
1146 unsigned m_needsCompositedScrolling : 1; | 1146 unsigned m_needsCompositedScrolling : 1; |
| 1147 unsigned m_needsCompositedScrollingHasBeenRecorded : 1; |
| 1148 unsigned m_willUseCompositedScrollingHasBeenRecorded : 1; |
| 1149 |
| 1150 unsigned m_isScrollableAreaHasBeenRecorded : 1; |
1147 | 1151 |
1148 // If this is true, then no non-descendant appears between any of our | 1152 // If this is true, then no non-descendant appears between any of our |
1149 // descendants in stacking order. This is one of the requirements of being | 1153 // descendants in stacking order. This is one of the requirements of being |
1150 // able to safely become a stacking context. | 1154 // able to safely become a stacking context. |
1151 unsigned m_canBePromotedToStackingContainer : 1; | 1155 unsigned m_canBePromotedToStackingContainer : 1; |
1152 unsigned m_canBePromotedToStackingContainerDirty : 1; | 1156 unsigned m_canBePromotedToStackingContainerDirty : 1; |
1153 | 1157 |
1154 const unsigned m_isRootLayer : 1; | 1158 const unsigned m_isRootLayer : 1; |
1155 | 1159 |
1156 unsigned m_usedTransparency : 1; // Tracks whether we need to close a transp
arent layer, i.e., whether | 1160 unsigned m_usedTransparency : 1; // Tracks whether we need to close a transp
arent layer, i.e., whether |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1320 | 1324 |
1321 } // namespace WebCore | 1325 } // namespace WebCore |
1322 | 1326 |
1323 #ifndef NDEBUG | 1327 #ifndef NDEBUG |
1324 // Outside the WebCore namespace for ease of invocation from gdb. | 1328 // Outside the WebCore namespace for ease of invocation from gdb. |
1325 void showLayerTree(const WebCore::RenderLayer*); | 1329 void showLayerTree(const WebCore::RenderLayer*); |
1326 void showLayerTree(const WebCore::RenderObject*); | 1330 void showLayerTree(const WebCore::RenderObject*); |
1327 #endif | 1331 #endif |
1328 | 1332 |
1329 #endif // RenderLayer_h | 1333 #endif // RenderLayer_h |
OLD | NEW |