| 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 43 | 43 |
| 44 #ifndef RenderLayer_h | 44 #ifndef RenderLayer_h |
| 45 #define RenderLayer_h | 45 #define RenderLayer_h |
| 46 | 46 |
| 47 #include "core/rendering/CompositingReasons.h" | 47 #include "core/rendering/CompositingReasons.h" |
| 48 #include "core/rendering/PaintInfo.h" | 48 #include "core/rendering/PaintInfo.h" |
| 49 #include "core/rendering/RenderBox.h" | 49 #include "core/rendering/RenderBox.h" |
| 50 #include "core/rendering/RenderLayerScrollableArea.h" | 50 #include "core/rendering/RenderLayerScrollableArea.h" |
| 51 | 51 |
| 52 #include "wtf/OwnPtr.h" | 52 #include "wtf/OwnPtr.h" |
| 53 #include "wtf/TriState.h" |
| 53 | 54 |
| 54 #include "core/rendering/RenderLayerFilterInfo.h" | 55 #include "core/rendering/RenderLayerFilterInfo.h" |
| 55 | 56 |
| 56 namespace WebCore { | 57 namespace WebCore { |
| 57 | 58 |
| 58 class FilterEffectRenderer; | 59 class FilterEffectRenderer; |
| 59 class FilterOperations; | 60 class FilterOperations; |
| 60 class HitTestRequest; | 61 class HitTestRequest; |
| 61 class HitTestResult; | 62 class HitTestResult; |
| 62 class HitTestingTransformState; | 63 class HitTestingTransformState; |
| (...skipping 1073 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1136 unsigned m_hasOutOfFlowPositionedDescendantDirty : 1; | 1137 unsigned m_hasOutOfFlowPositionedDescendantDirty : 1; |
| 1137 | 1138 |
| 1138 // This is true if we have an out-of-flow positioned descendant whose | 1139 // 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 | 1140 // containing block is our ancestor. If this is the case, the descendant |
| 1140 // may fall outside of our clip preventing things like opting into | 1141 // may fall outside of our clip preventing things like opting into |
| 1141 // composited scrolling (which causes clipping of all descendants). | 1142 // composited scrolling (which causes clipping of all descendants). |
| 1142 unsigned m_hasUnclippedDescendant : 1; | 1143 unsigned m_hasUnclippedDescendant : 1; |
| 1143 | 1144 |
| 1144 unsigned m_isUnclippedDescendant : 1; | 1145 unsigned m_isUnclippedDescendant : 1; |
| 1145 | 1146 |
| 1146 unsigned m_needsCompositedScrolling : 1; | 1147 unsigned m_isScrollableAreaHasBeenRecorded : 1; |
| 1147 | 1148 |
| 1148 // If this is true, then no non-descendant appears between any of our | 1149 // 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 | 1150 // descendants in stacking order. This is one of the requirements of being |
| 1150 // able to safely become a stacking context. | 1151 // able to safely become a stacking context. |
| 1151 unsigned m_canBePromotedToStackingContainer : 1; | 1152 unsigned m_canBePromotedToStackingContainer : 1; |
| 1152 unsigned m_canBePromotedToStackingContainerDirty : 1; | 1153 unsigned m_canBePromotedToStackingContainerDirty : 1; |
| 1153 | 1154 |
| 1154 const unsigned m_isRootLayer : 1; | 1155 const unsigned m_isRootLayer : 1; |
| 1155 | 1156 |
| 1156 unsigned m_usedTransparency : 1; // Tracks whether we need to close a transp
arent layer, i.e., whether | 1157 unsigned m_usedTransparency : 1; // Tracks whether we need to close a transp
arent layer, i.e., whether |
| (...skipping 20 matching lines...) Expand all Loading... |
| 1177 #if !ASSERT_DISABLED | 1178 #if !ASSERT_DISABLED |
| 1178 unsigned m_layerListMutationAllowed : 1; | 1179 unsigned m_layerListMutationAllowed : 1; |
| 1179 #endif | 1180 #endif |
| 1180 // This is an optimization added for <table>. | 1181 // This is an optimization added for <table>. |
| 1181 // Currently cells do not need to update their repaint rectangles when scrol
ling. This also | 1182 // Currently cells do not need to update their repaint rectangles when scrol
ling. This also |
| 1182 // saves a lot of time when scrolling on a table. | 1183 // saves a lot of time when scrolling on a table. |
| 1183 const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1; | 1184 const unsigned m_canSkipRepaintRectsUpdateOnScroll : 1; |
| 1184 | 1185 |
| 1185 unsigned m_hasFilterInfo : 1; | 1186 unsigned m_hasFilterInfo : 1; |
| 1186 | 1187 |
| 1188 TriState m_needsCompositedScrolling; |
| 1189 |
| 1187 BlendMode m_blendMode; | 1190 BlendMode m_blendMode; |
| 1188 | 1191 |
| 1189 RenderLayerModelObject* m_renderer; | 1192 RenderLayerModelObject* m_renderer; |
| 1190 | 1193 |
| 1191 RenderLayer* m_parent; | 1194 RenderLayer* m_parent; |
| 1192 RenderLayer* m_previous; | 1195 RenderLayer* m_previous; |
| 1193 RenderLayer* m_next; | 1196 RenderLayer* m_next; |
| 1194 RenderLayer* m_first; | 1197 RenderLayer* m_first; |
| 1195 RenderLayer* m_last; | 1198 RenderLayer* m_last; |
| 1196 | 1199 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1320 | 1323 |
| 1321 } // namespace WebCore | 1324 } // namespace WebCore |
| 1322 | 1325 |
| 1323 #ifndef NDEBUG | 1326 #ifndef NDEBUG |
| 1324 // Outside the WebCore namespace for ease of invocation from gdb. | 1327 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1325 void showLayerTree(const WebCore::RenderLayer*); | 1328 void showLayerTree(const WebCore::RenderLayer*); |
| 1326 void showLayerTree(const WebCore::RenderObject*); | 1329 void showLayerTree(const WebCore::RenderObject*); |
| 1327 #endif | 1330 #endif |
| 1328 | 1331 |
| 1329 #endif // RenderLayer_h | 1332 #endif // RenderLayer_h |
| OLD | NEW |