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

Unified Diff: Source/core/paint/DeprecatedPaintLayerStackingNode.h

Issue 1158673008: Moving HitTest function to DeprecatedPaintLayerStackingNode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Reviewer comments 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 side-by-side diff with in-line comments
Download patch
Index: Source/core/paint/DeprecatedPaintLayerStackingNode.h
diff --git a/Source/core/paint/DeprecatedPaintLayerStackingNode.h b/Source/core/paint/DeprecatedPaintLayerStackingNode.h
index 4fd6b7c55c2d562b3b7cb43cebb12a9a69502fc5..cbdc060ac956cc2aa14f231f1ce6426d632d1e79 100644
--- a/Source/core/paint/DeprecatedPaintLayerStackingNode.h
+++ b/Source/core/paint/DeprecatedPaintLayerStackingNode.h
@@ -97,6 +97,10 @@ public:
void setLayerListMutationAllowed(bool flag) { m_layerListMutationAllowed = flag; }
#endif
+ // The hitTest() method looks for mouse events by walking layers that intersect the point from front to back.
Julien - ping for review 2015/06/05 00:46:55 This ancient comment could definitely be improved
chadarmstrong 2015/06/05 17:24:35 I was planning on it, but I would rather hold off
+ bool hitTest(HitTestResult&);
+ bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&);
+
private:
friend class DeprecatedPaintLayerStackingNodeIterator;
friend class DeprecatedPaintLayerStackingNodeReverseIterator;

Powered by Google App Engine
This is Rietveld 408576698