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

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: Corrected wrong if statement condition Created 6 years, 8 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..c3fb3b6fbd4144773ef010818ad730a09343aa3c 100644
--- a/Source/core/rendering/shapes/ShapeOutsideInfo.h
+++ b/Source/core/rendering/shapes/ShapeOutsideInfo.h
@@ -89,14 +89,19 @@ public:
bool isShapeDirty() { return !m_shape.get(); }
LayoutSize shapeSize() const { return m_referenceBoxLogicalSize; }
-private:
- ShapeOutsideInfo(const RenderBox& renderer)
+ LayoutRect computedShapePhysicalBoundingBox() const;
+ FloatPoint shapeToRendererPoint(FloatPoint) const;
+ FloatSize shapeToRendererSize(FloatSize) const;
+
+ const Shape& computedShape() const;
+
+protected:
+ explicit ShapeOutsideInfo(const RenderBox& renderer)
: m_renderer(renderer)
, m_lineOverlapsShape(false)
{ }
- const Shape& computedShape() const;
-
+private:
LayoutUnit logicalTopOffset() const;
LayoutUnit logicalLeftOffset() const;
@@ -111,8 +116,10 @@ private:
LayoutUnit m_lineHeight;
const RenderBox& m_renderer;
+
Bear Travis 2014/04/17 20:26:45 Added line break. There's another one below. It's
Habib Virji 2014/04/23 16:28:33 Done.
mutable OwnPtr<Shape> m_shape;
LayoutSize m_referenceBoxLogicalSize;
+
LayoutUnit m_leftMarginBoxDelta;
LayoutUnit m_rightMarginBoxDelta;
LayoutUnit m_borderBoxLineTop;

Powered by Google App Engine
This is Rietveld 408576698