| Index: third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| diff --git a/third_party/WebKit/Source/core/layout/api/LayoutItem.h b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| index 7236737d2e1fc9a1ebd9bc1018dc54b248ad4da5..cde7c949c6c75473cda579dd834a748a2fa0e281 100644
|
| --- a/third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| +++ b/third_party/WebKit/Source/core/layout/api/LayoutItem.h
|
| @@ -14,6 +14,7 @@ namespace blink {
|
|
|
| class FrameView;
|
| class LayoutAPIShim;
|
| +class LocalFrame;
|
| class LayoutViewItem;
|
| class Node;
|
| class ObjectPaintProperties;
|
| @@ -140,11 +141,6 @@ public:
|
| return m_layoutObject->needsLayout();
|
| }
|
|
|
| - void setNeedsLayout(LayoutInvalidationReasonForTracing reason, MarkingBehavior marking = MarkContainerChain, SubtreeLayoutScope* scope = nullptr)
|
| - {
|
| - m_layoutObject->setNeedsLayout(reason, marking, scope);
|
| - }
|
| -
|
| void layout()
|
| {
|
| m_layoutObject->layout();
|
| @@ -165,6 +161,11 @@ public:
|
| return m_layoutObject->document();
|
| }
|
|
|
| + LocalFrame* frame() const
|
| + {
|
| + return m_layoutObject->frame();
|
| + }
|
| +
|
| LayoutItem nextInPreOrder() const
|
| {
|
| return LayoutItem(m_layoutObject->nextInPreOrder());
|
| @@ -207,11 +208,6 @@ public:
|
| return m_layoutObject->document().view();
|
| }
|
|
|
| - void setMayNeedPaintInvalidation()
|
| - {
|
| - m_layoutObject->setMayNeedPaintInvalidation();
|
| - }
|
| -
|
| const ComputedStyle* style() const
|
| {
|
| return m_layoutObject->style();
|
| @@ -227,6 +223,31 @@ public:
|
| return m_layoutObject->hasLayer();
|
| }
|
|
|
| + void setNeedsLayout(LayoutInvalidationReasonForTracing reason, MarkingBehavior marking = MarkContainerChain, SubtreeLayoutScope* scope = nullptr)
|
| + {
|
| + m_layoutObject->setNeedsLayout(reason, marking, scope);
|
| + }
|
| +
|
| + void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTracing reason, MarkingBehavior behavior = MarkContainerChain, SubtreeLayoutScope* scope = nullptr)
|
| + {
|
| + m_layoutObject->setNeedsLayoutAndFullPaintInvalidation(reason, behavior, scope);
|
| + }
|
| +
|
| + void setNeedsLayoutAndPrefWidthsRecalc(LayoutInvalidationReasonForTracing reason)
|
| + {
|
| + m_layoutObject->setNeedsLayoutAndPrefWidthsRecalc(reason);
|
| + }
|
| +
|
| + void setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(LayoutInvalidationReasonForTracing reason)
|
| + {
|
| + m_layoutObject->setNeedsLayoutAndPrefWidthsRecalcAndFullPaintInvalidation(reason);
|
| + }
|
| +
|
| + void setMayNeedPaintInvalidation()
|
| + {
|
| + m_layoutObject->setMayNeedPaintInvalidation();
|
| + }
|
| +
|
| void setShouldDoFullPaintInvalidation(PaintInvalidationReason reason = PaintInvalidationFull)
|
| {
|
| m_layoutObject->setShouldDoFullPaintInvalidation(reason);
|
| @@ -252,16 +273,6 @@ public:
|
| return m_layoutObject->absoluteToLocal(point, mode);
|
| }
|
|
|
| - void setNeedsLayoutAndFullPaintInvalidation(LayoutInvalidationReasonForTracing reason, MarkingBehavior behavior = MarkContainerChain, SubtreeLayoutScope* scope = nullptr)
|
| - {
|
| - m_layoutObject->setNeedsLayoutAndFullPaintInvalidation(reason, behavior, scope);
|
| - }
|
| -
|
| - void setNeedsLayoutAndPrefWidthsRecalc(LayoutInvalidationReasonForTracing reason)
|
| - {
|
| - m_layoutObject->setNeedsLayoutAndPrefWidthsRecalc(reason);
|
| - }
|
| -
|
| bool wasNotifiedOfSubtreeChange() const
|
| {
|
| return m_layoutObject->wasNotifiedOfSubtreeChange();
|
|
|