| 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 f4b0b21d94294c30827b4ea734fa933cac5d7efc..4b3a445a01c05d3f66dd0178fc146da8c41dda6f 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"
|
| @@ -809,6 +810,12 @@ void WebRemoteFrameImpl::didStopLoading()
|
| }
|
| }
|
|
|
| +bool WebRemoteFrameImpl::isIgnoredForHitTest() 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))
|
|
|