Chromium Code Reviews| Index: Source/core/layout/LayoutBox.h |
| diff --git a/Source/core/layout/LayoutBox.h b/Source/core/layout/LayoutBox.h |
| index a79e2cf8961ed3a0cecdb711317d018f265b595a..723a20230874fb1b11a4cceca4bd641e2c48de71 100644 |
| --- a/Source/core/layout/LayoutBox.h |
| +++ b/Source/core/layout/LayoutBox.h |
| @@ -90,6 +90,8 @@ public: |
| int pixelSnappedWidth() const { return m_frameRect.pixelSnappedWidth(); } |
| int pixelSnappedHeight() const { return m_frameRect.pixelSnappedHeight(); } |
| + IntPoint unUsedDelta() const { return m_unusedDelta; } |
| + |
| void setX(LayoutUnit x) |
| { |
| if (x == m_frameRect.x()) |
| @@ -827,6 +829,9 @@ private: |
| // The width/height of the contents + borders + padding. The x/y location is relative to our container (which is not always our parent). |
| LayoutRect m_frameRect; |
| + // UnUsed Delta after scroll. |
| + IntPoint m_unusedDelta; |
|
majidvp
2015/04/23 18:25:08
It does not make sense to have this information in
MuVen
2015/04/27 12:53:46
Done.
|
| + |
| // Our intrinsic height, used for min-height: min-content etc. Maintained by |
| // updateLogicalHeight. This is logicalHeight() before it is clamped to |
| // min/max. |