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