| Index: third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
|
| diff --git a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
|
| index 5a7dccaf27728dd86f1283997e789efb2648fc3b..c91c76e4824532353a2b0494b8113b42a5a21985 100644
|
| --- a/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
|
| +++ b/third_party/WebKit/Source/core/paint/BackgroundImageGeometry.h
|
| @@ -14,8 +14,11 @@
|
| namespace blink {
|
|
|
| class FillLayer;
|
| +class LayoutBox;
|
| class LayoutBoxModelObject;
|
| +class LayoutObject;
|
| class LayoutRect;
|
| +class LayoutTableCell;
|
|
|
| class BackgroundImageGeometry {
|
| DISALLOW_NEW_EXCEPT_PLACEMENT_NEW();
|
| @@ -24,6 +27,7 @@ class BackgroundImageGeometry {
|
| BackgroundImageGeometry() : m_hasNonLocalGeometry(false) {}
|
|
|
| void calculate(const LayoutBoxModelObject&,
|
| + const LayoutObject* backgroundObject,
|
| const LayoutBoxModelObject* paintContainer,
|
| const GlobalPaintFlags,
|
| const FillLayer&,
|
| @@ -66,17 +70,22 @@ class BackgroundImageGeometry {
|
| LayoutUnit,
|
| LayoutUnit,
|
| LayoutUnit,
|
| + LayoutUnit,
|
| LayoutUnit);
|
| void setRepeatY(const FillLayer&,
|
| LayoutUnit,
|
| LayoutUnit,
|
| LayoutUnit,
|
| + LayoutUnit,
|
| LayoutUnit);
|
| void setSpaceX(LayoutUnit, LayoutUnit, LayoutUnit);
|
| void setSpaceY(LayoutUnit, LayoutUnit, LayoutUnit);
|
|
|
| void useFixedAttachment(const LayoutPoint& attachmentPoint);
|
| void setHasNonLocalGeometry() { m_hasNonLocalGeometry = true; }
|
| + LayoutPoint getOffsetForCell(const LayoutTableCell&, const LayoutBox&);
|
| + LayoutSize getBackgroundObjectDimensions(const LayoutTableCell&,
|
| + const LayoutBox&);
|
|
|
| // TODO(schenney): Convert these to IntPoints for values that we snap
|
| LayoutRect m_destRect;
|
|
|