| Index: third_party/WebKit/Source/core/frame/LocalFrame.h
|
| diff --git a/third_party/WebKit/Source/core/frame/LocalFrame.h b/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| index 7a2942313edf6477ffb0228a32be99aa8c74386c..5355212327e5b848539f006dbd8109c2be8b537b 100644
|
| --- a/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| +++ b/third_party/WebKit/Source/core/frame/LocalFrame.h
|
| @@ -253,6 +253,12 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
| // focused element or passed node into explicit methods.
|
| WebPluginContainerBase* GetWebPluginContainerBase(Node* = nullptr) const;
|
|
|
| + // Called on a view for a LocalFrame with a RemoteFrame parent. This makes
|
| + // viewport intersection available that accounts for remote ancestor frames
|
| + // and their respective scroll positions, clips, etc.
|
| + void SetViewportIntersectionFromParent(const IntRect&);
|
| + IntRect RemoteViewportIntersection() { return remote_viewport_intersection_; }
|
| +
|
| private:
|
| friend class FrameNavigationDisabler;
|
|
|
| @@ -301,6 +307,8 @@ class CORE_EXPORT LocalFrame final : public Frame,
|
|
|
| InterfaceProvider* const interface_provider_;
|
| InterfaceRegistry* const interface_registry_;
|
| +
|
| + IntRect remote_viewport_intersection_;
|
| };
|
|
|
| inline FrameLoader& LocalFrame::Loader() const {
|
|
|