| Index: Source/core/paint/DeprecatedPaintLayer.h
|
| diff --git a/Source/core/paint/DeprecatedPaintLayer.h b/Source/core/paint/DeprecatedPaintLayer.h
|
| index 82cb7d2bb6d07186584b046c0c18cf6838fab414..960ff62ac2d6533ed9404b150a7d1e737df3a6ad 100644
|
| --- a/Source/core/paint/DeprecatedPaintLayer.h
|
| +++ b/Source/core/paint/DeprecatedPaintLayer.h
|
| @@ -230,6 +230,10 @@
|
| // 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;
|
|
|
| @@ -528,10 +532,6 @@
|
| static LayoutRect transparencyClipBox(const DeprecatedPaintLayer*, const DeprecatedPaintLayer* rootLayer, TransparencyClipBoxBehavior transparencyBehavior,
|
| TransparencyClipBoxMode transparencyMode, const LayoutSize& subPixelAccumulation, PaintBehavior = 0);
|
|
|
| - DeprecatedPaintLayer* hitTestLayer(DeprecatedPaintLayer* rootLayer, DeprecatedPaintLayer* containerLayer, HitTestResult&,
|
| - 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,6 +552,9 @@
|
| 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());
|
|
|