| 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 * Copyright (C) 2013 Intel Corporation. All rights reserved. | 3 * Copyright (C) 2013 Intel Corporation. All rights reserved. |
| 4 * | 4 * |
| 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
| 6 * | 6 * |
| 7 * Other contributors: | 7 * Other contributors: |
| 8 * Robert O'Callahan <roc+@cs.cmu.edu> | 8 * Robert O'Callahan <roc+@cs.cmu.edu> |
| 9 * David Baron <dbaron@fas.harvard.edu> | 9 * David Baron <dbaron@fas.harvard.edu> |
| 10 * Christian Biesinger <cbiesinger@web.de> | 10 * Christian Biesinger <cbiesinger@web.de> |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 // FIXME: should check for dirtiness here? | 82 // FIXME: should check for dirtiness here? |
| 83 bool isNormalFlowOnly() const { return m_isNormalFlowOnly; } | 83 bool isNormalFlowOnly() const { return m_isNormalFlowOnly; } |
| 84 void updateIsNormalFlowOnly(); | 84 void updateIsNormalFlowOnly(); |
| 85 bool normalFlowListDirty() const { return m_normalFlowListDirty; } | 85 bool normalFlowListDirty() const { return m_normalFlowListDirty; } |
| 86 void dirtyNormalFlowList(); | 86 void dirtyNormalFlowList(); |
| 87 | 87 |
| 88 void updateStackingNodesAfterStyleChange(const RenderStyle* oldStyle); | 88 void updateStackingNodesAfterStyleChange(const RenderStyle* oldStyle); |
| 89 | 89 |
| 90 RenderLayerStackingNode* ancestorStackingContextNode() const; | 90 RenderLayerStackingNode* ancestorStackingContextNode() const; |
| 91 | 91 |
| 92 // Gets the enclosing stacking context for this node, possibly the node | |
| 93 // itself, if it is a stacking context. | |
| 94 RenderLayerStackingNode* enclosingStackingContextNode() { return isStackingC
ontext() ? this : ancestorStackingContextNode(); } | |
| 95 | |
| 96 RenderLayer* layer() const { return m_layer; } | 92 RenderLayer* layer() const { return m_layer; } |
| 97 | 93 |
| 98 #if ENABLE(ASSERT) | 94 #if ENABLE(ASSERT) |
| 99 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; } | 95 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; } |
| 100 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f
lag; } | 96 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f
lag; } |
| 101 #endif | 97 #endif |
| 102 | 98 |
| 103 private: | 99 private: |
| 104 friend class RenderLayerStackingNodeIterator; | 100 friend class RenderLayerStackingNodeIterator; |
| 105 friend class RenderLayerStackingNodeReverseIterator; | 101 friend class RenderLayerStackingNodeReverseIterator; |
| (...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 | 207 |
| 212 private: | 208 private: |
| 213 RenderLayerStackingNode* m_stackingNode; | 209 RenderLayerStackingNode* m_stackingNode; |
| 214 bool m_previousMutationAllowedState; | 210 bool m_previousMutationAllowedState; |
| 215 }; | 211 }; |
| 216 #endif | 212 #endif |
| 217 | 213 |
| 218 } // namespace blink | 214 } // namespace blink |
| 219 | 215 |
| 220 #endif // RenderLayerStackingNode_h | 216 #endif // RenderLayerStackingNode_h |
| OLD | NEW |