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

Unified Diff: Source/core/rendering/shapes/ShapeOutsideInfo.h

Issue 237313003: CSS shapes support in Web Inspector (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Code review comments Created 6 years, 7 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/rendering/shapes/ShapeOutsideInfo.h
diff --git a/Source/core/rendering/shapes/ShapeOutsideInfo.h b/Source/core/rendering/shapes/ShapeOutsideInfo.h
index 2ff53d987262368b09d3cf25e24639cf521820b4..cbc95acc66b23c8921785a9ec0e046fcff67a102 100644
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.h
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.h
@@ -89,14 +89,18 @@ public:
bool isShapeDirty() { return !m_shape.get(); }
LayoutSize shapeSize() const { return m_referenceBoxLogicalSize; }
-private:
+ LayoutRect computedShapePhysicalBoundingBox() const;
+ FloatPoint shapeToRendererPoint(FloatPoint) const;
+ FloatSize shapeToRendererSize(FloatSize) const;
+ const Shape& computedShape() const;
+
+protected:
ShapeOutsideInfo(const RenderBox& renderer)
: m_renderer(renderer)
, m_lineOverlapsShape(false)
{ }
- const Shape& computedShape() const;
-
+private:
LayoutUnit logicalTopOffset() const;
LayoutUnit logicalLeftOffset() const;

Powered by Google App Engine
This is Rietveld 408576698