Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1737)

Unified Diff: third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clean up Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..ce771e614935b56f5169269c155c135900c4f890 100644
--- a/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
+++ b/third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp
@@ -1037,4 +1037,13 @@ WebEffectiveConnectionType FrameLoaderClientImpl::getEffectiveConnectionType()
return WebEffectiveConnectionType::TypeUnknown;
}
+String FrameLoaderClientImpl::OverrideFlashEmbedWithHTML(const String& url)
+{
+ String ret;
+ if (m_webFrame->client()) {
+ ret = m_webFrame->client()->overrideFlashEmbedWithHTML(WebString(url));
+ }
+ return ret;
mlamouri (slow - plz ping) 2016/07/28 13:05:13 I think it will read better this way: ``` if (m_we
kdsilva 2016/07/28 15:17:18 Done. Assuming you meant "if (!m_webFrame->client(
+}
+
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698