| Index: third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| index 7112694b7e567bc354b680fe3e56316c0e648018..13cda10e7fd42ecdd194a2e14e34fbcdbb56f42d 100644
|
| --- a/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| +++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.cpp
|
| @@ -231,6 +231,15 @@ void LocalFrameClientImpl::DidUpdateCurrentHistoryItem() {
|
| web_frame_->Client()->DidUpdateCurrentHistoryItem();
|
| }
|
|
|
| +bool LocalFrameClientImpl::AllowContentInitiatedDataUrlNavigations(
|
| + const KURL& url) {
|
| + if (RuntimeEnabledFeatures::allowContentInitiatedDataUrlNavigationsEnabled())
|
| + return true;
|
| + if (web_frame_->Client())
|
| + return web_frame_->Client()->AllowContentInitiatedDataUrlNavigations(url);
|
| + return false;
|
| +}
|
| +
|
| bool LocalFrameClientImpl::HasWebView() const {
|
| return web_frame_->ViewImpl();
|
| }
|
|
|