| Index: third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| index a383c3f82bf937dafcd80d548f2131f6d8a773da..f58330c809621702799c5037f794862f9e44425f 100644
|
| --- a/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/WebRemoteFrameImpl.cpp
|
| @@ -7,6 +7,7 @@
|
| #include "core/frame/FrameView.h"
|
| #include "core/frame/Settings.h"
|
| #include "core/html/HTMLFrameOwnerElement.h"
|
| +#include "core/layout/LayoutObject.h"
|
| #include "core/page/Page.h"
|
| #include "platform/heap/Handle.h"
|
| #include "public/platform/WebFloatRect.h"
|
| @@ -815,6 +816,12 @@ void WebRemoteFrameImpl::didStopLoading()
|
| }
|
| }
|
|
|
| +bool WebRemoteFrameImpl::ignoredForHittest() const
|
| +{
|
| + HTMLFrameOwnerElement* owner = frame()->deprecatedLocalOwner();
|
| + return owner ? owner->layoutObject()->style()->pointerEvents() == PE_NONE : false;
|
| +}
|
| +
|
| WebRemoteFrameImpl::WebRemoteFrameImpl(WebTreeScopeType scope, WebRemoteFrameClient* client)
|
| : WebRemoteFrame(scope)
|
| , m_frameClient(RemoteFrameClientImpl::create(this))
|
|
|