Chromium Code Reviews| Index: Source/core/paint/DeprecatedPaintLayer.h |
| diff --git a/Source/core/paint/DeprecatedPaintLayer.h b/Source/core/paint/DeprecatedPaintLayer.h |
| index 960ff62ac2d6533ed9404b150a7d1e737df3a6ad..82cb7d2bb6d07186584b046c0c18cf6838fab414 100644 |
| --- a/Source/core/paint/DeprecatedPaintLayer.h |
| +++ b/Source/core/paint/DeprecatedPaintLayer.h |
| @@ -230,10 +230,6 @@ public: |
| // http://www.chromium.org/developers/design-documents/multi-column-layout for more info. |
| LayoutPoint visualOffsetFromAncestor(const DeprecatedPaintLayer* ancestorLayer) const; |
| - // The hitTest() method looks for mouse events by walking layers that intersect the point from front to back. |
| - bool hitTest(HitTestResult&); |
| - bool hitTest(const HitTestRequest&, const HitTestLocation&, HitTestResult&); |
| - |
| // Pass offsetFromRoot if known. |
| bool intersectsDamageRect(const LayoutRect& layerBounds, const LayoutRect& damageRect, const DeprecatedPaintLayer* rootLayer, const LayoutPoint* offsetFromRoot = 0) const; |
| @@ -532,6 +528,10 @@ public: |
| static LayoutRect transparencyClipBox(const DeprecatedPaintLayer*, const DeprecatedPaintLayer* rootLayer, TransparencyClipBoxBehavior transparencyBehavior, |
| TransparencyClipBoxMode transparencyMode, const LayoutSize& subPixelAccumulation, PaintBehavior = 0); |
| + DeprecatedPaintLayer* hitTestLayer(DeprecatedPaintLayer* rootLayer, DeprecatedPaintLayer* containerLayer, HitTestResult&, |
|
Julien - ping for review
2015/06/05 00:46:54
I would assume we would want to pass |const Deprec
chadarmstrong
2015/06/05 17:24:34
Acknowledged.
|
| + const LayoutRect& hitTestRect, const HitTestLocation&, bool appliedTransform, |
| + const HitTestingTransformState* = 0, double* zOffset = 0); |
| + |
| private: |
| // Bounding box in the coordinates of this layer. |
| LayoutRect logicalBoundingBox() const; |
| @@ -552,9 +552,6 @@ private: |
| void setLastChild(DeprecatedPaintLayer* last) { m_last = last; } |
| void updateHasSelfPaintingLayerDescendant() const; |
| - DeprecatedPaintLayer* hitTestLayer(DeprecatedPaintLayer* rootLayer, DeprecatedPaintLayer* containerLayer, HitTestResult&, |
| - const LayoutRect& hitTestRect, const HitTestLocation&, bool appliedTransform, |
| - const HitTestingTransformState* = 0, double* zOffset = 0); |
| DeprecatedPaintLayer* hitTestLayerByApplyingTransform(DeprecatedPaintLayer* rootLayer, DeprecatedPaintLayer* containerLayer, HitTestResult&, |
| const LayoutRect& hitTestRect, const HitTestLocation&, const HitTestingTransformState* = 0, double* zOffset = 0, |
| const LayoutPoint& translationOffset = LayoutPoint()); |