| 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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 90 | 90 |
| 91 DeprecatedPaintLayerStackingNode* ancestorStackingContextNode() const; | 91 DeprecatedPaintLayerStackingNode* ancestorStackingContextNode() const; |
| 92 | 92 |
| 93 DeprecatedPaintLayer* layer() const { return m_layer; } | 93 DeprecatedPaintLayer* layer() const { return m_layer; } |
| 94 | 94 |
| 95 #if ENABLE(ASSERT) | 95 #if ENABLE(ASSERT) |
| 96 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; } | 96 bool layerListMutationAllowed() const { return m_layerListMutationAllowed; } |
| 97 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f
lag; } | 97 void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = f
lag; } |
| 98 #endif | 98 #endif |
| 99 | 99 |
| 100 // The hitTest() method looks for mouse events by walking layers that inters
ect the point from front to back. |
| 101 bool hitTest(HitTestResult&); |
| 102 bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); |
| 103 |
| 100 private: | 104 private: |
| 101 friend class DeprecatedPaintLayerStackingNodeIterator; | 105 friend class DeprecatedPaintLayerStackingNodeIterator; |
| 102 friend class DeprecatedPaintLayerStackingNodeReverseIterator; | 106 friend class DeprecatedPaintLayerStackingNodeReverseIterator; |
| 103 friend class LayoutTreeAsText; | 107 friend class LayoutTreeAsText; |
| 104 | 108 |
| 105 Vector<DeprecatedPaintLayerStackingNode*>* posZOrderList() const | 109 Vector<DeprecatedPaintLayerStackingNode*>* posZOrderList() const |
| 106 { | 110 { |
| 107 ASSERT(!m_zOrderListsDirty); | 111 ASSERT(!m_zOrderListsDirty); |
| 108 ASSERT(isStackingContext() || !m_posZOrderList); | 112 ASSERT(isStackingContext() || !m_posZOrderList); |
| 109 return m_posZOrderList.get(); | 113 return m_posZOrderList.get(); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 | 212 |
| 209 private: | 213 private: |
| 210 DeprecatedPaintLayerStackingNode* m_stackingNode; | 214 DeprecatedPaintLayerStackingNode* m_stackingNode; |
| 211 bool m_previousMutationAllowedState; | 215 bool m_previousMutationAllowedState; |
| 212 }; | 216 }; |
| 213 #endif | 217 #endif |
| 214 | 218 |
| 215 } // namespace blink | 219 } // namespace blink |
| 216 | 220 |
| 217 #endif // DeprecatedPaintLayerStackingNode_h | 221 #endif // DeprecatedPaintLayerStackingNode_h |
| OLD | NEW |