| Index: third_party/WebKit/Source/core/layout/LayoutBox.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBox.h b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| index 7c7e4cc71b880abda77f470318c411f4334ddb4d..219d5b802c9df7e44de8747a9a60efcca29004e7 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBox.h
|
| @@ -785,6 +785,8 @@ public:
|
| virtual int firstLineBoxBaseline() const { return -1; }
|
| virtual int inlineBlockBaseline(LineDirectionMode) const { return -1; } // Returns -1 if we should skip this box when computing the baseline of an inline-block.
|
|
|
| + virtual Node* nodeForHitTest() const { return node(); }
|
| +
|
| bool shrinkToAvoidFloats() const;
|
| virtual bool avoidsFloats() const;
|
|
|
| @@ -1039,7 +1041,8 @@ private:
|
| // Returns true if the box intersects the viewport visible to the user.
|
| bool intersectsVisibleViewport();
|
|
|
| - bool hitTestChildren(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
|
| + virtual bool isInSelfHitTestingPhase(HitTestAction hitTestAction) const { return hitTestAction == HitTestForeground; }
|
| + virtual bool hitTestChildren(HitTestResult&, const HitTestLocation& locationInContainer, const LayoutPoint& accumulatedOffset, HitTestAction);
|
|
|
| void updateBackgroundAttachmentFixedStatusAfterStyleChange();
|
|
|
|
|