Chromium Code Reviews| Index: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| index 1142b5e05cfd96908506836fa9e8a359be78e0c5..101b1b0334ffa13bcee016bee0350a1ac85a1015 100644 |
| --- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| +++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp |
| @@ -1037,4 +1037,16 @@ WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType() |
| return WebEffectiveConnectionType::TypeUnknown; |
| } |
| +// kdsilva |
| +bool FrameLoaderClientImpl::overrideEmbedInfo(String* url) |
| +{ |
| + bool retVal = false; |
| + if (m_webFrame->client()) { |
|
mlamouri (slow - plz ping)
2016/07/20 13:22:03
if (!m_webFrame->client())
return false;
kdsilva
2016/07/21 13:59:46
Acknowledged.
|
| + WebString urlWstr = WebString(*url); |
| + retVal = m_webFrame->client()->overrideEmbedInfo(&urlWstr); |
| + *url = urlWstr; |
| + } |
| + return retVal; |
| +} |
| + |
| } // namespace blink |