Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(341)

Side by Side Diff: Source/core/paint/DeprecatedPaintLayerStackingNode.h

Issue 1142283004: Implement a Hit Test Cache. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Remove stray file Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698