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

Unified Diff: third_party/WebKit/public/web/WebFrameClient.h

Issue 2154233003: Rewrite YouTube Flash embeds (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments 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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 6f2e7bbeeef6d1bc0e5bffe023a632d9eb54eb00..430efb43b3c3fb49fee686a44f4179f1c70f5ffd 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -727,6 +727,12 @@ public:
return WebPageVisibilityStateVisible;
}
+ // Overwrites the given URL to use an HTML5 video player if possible.
+ virtual WebString overrideFlashEmbedWithHTML(const WebString& url)
+ {
+ return url;
mlamouri (slow - plz ping) 2016/07/21 15:55:08 Shouldn't it be the empty string?
kdsilva 2016/07/22 13:55:58 Done.
+ }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698