| 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 | |
| 104 private: | 100 private: |
| 105 friend class DeprecatedPaintLayerStackingNodeIterator; | 101 friend class DeprecatedPaintLayerStackingNodeIterator; |
| 106 friend class DeprecatedPaintLayerStackingNodeReverseIterator; | 102 friend class DeprecatedPaintLayerStackingNodeReverseIterator; |
| 107 friend class LayoutTreeAsText; | 103 friend class LayoutTreeAsText; |
| 108 | 104 |
| 109 Vector<DeprecatedPaintLayerStackingNode*>* posZOrderList() const | 105 Vector<DeprecatedPaintLayerStackingNode*>* posZOrderList() const |
| 110 { | 106 { |
| 111 ASSERT(!m_zOrderListsDirty); | 107 ASSERT(!m_zOrderListsDirty); |
| 112 ASSERT(isStackingContext() || !m_posZOrderList); | 108 ASSERT(isStackingContext() || !m_posZOrderList); |
| 113 return m_posZOrderList.get(); | 109 return m_posZOrderList.get(); |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 | 208 |
| 213 private: | 209 private: |
| 214 DeprecatedPaintLayerStackingNode* m_stackingNode; | 210 DeprecatedPaintLayerStackingNode* m_stackingNode; |
| 215 bool m_previousMutationAllowedState; | 211 bool m_previousMutationAllowedState; |
| 216 }; | 212 }; |
| 217 #endif | 213 #endif |
| 218 | 214 |
| 219 } // namespace blink | 215 } // namespace blink |
| 220 | 216 |
| 221 #endif // DeprecatedPaintLayerStackingNode_h | 217 #endif // DeprecatedPaintLayerStackingNode_h |
| OLD | NEW |