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

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 002175d2cd82dff661f6ef6dbb9f568bdd7d81df..a254e1ef82b5e2ad2f1a97c64b79990bd613aa9f 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -710,6 +710,13 @@ public:
return WebPageVisibilityStateVisible;
}
+ // Overwrites the given URL to use an HTML5 video player if possible.
mlamouri (slow - plz ping) 2016/08/01 13:43:59 s/video player/embed/
kdsilva 2016/08/02 15:34:47 Done.
+ // An empty string is returned if the URL is not overriden.
+ virtual WebString overrideFlashEmbedWithHTML(const WebString& url)
+ {
+ return WebString("");
+ }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698