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