Index: third_party/WebKit/Source/core/paint/PaintLayer.h |
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h |
index 32cc020fd20abaf3b4e3d411f0ef0fba49985db8..34c3b0db5baaf5923f8c6ecf879d88ccc4ab4a84 100644 |
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h |
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h |
@@ -300,6 +300,11 @@ public: |
// http://www.chromium.org/developers/design-documents/multi-column-layout for more info. |
LayoutPoint visualOffsetFromAncestor(const PaintLayer* ancestorLayer) const; |
+ // Convert a bounding box from flow thread coordinates, relative to |this|, to visual coordinates, relative to |ancestorLayer|. |
+ // See http://www.chromium.org/developers/design-documents/multi-column-layout for more info on these coordinate types. |
+ // This method requires this layer to be paginated; i.e. it must have an enclosingPaginationLayer(). |
+ void convertFromFlowThreadToVisualBoundingBoxInAncestor(const PaintLayer* ancestorLayer, LayoutRect&) const; |
+ |
// The hitTest() method looks for mouse events by walking layers that intersect the point from front to back. |
bool hitTest(HitTestResult&); |