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

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: Added unit tests 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..e0263ee384e6c09014eeb8931d4bbdae60409c1d 100644
--- a/third_party/WebKit/public/web/WebFrameClient.h
+++ b/third_party/WebKit/public/web/WebFrameClient.h
@@ -727,6 +727,13 @@ public:
return WebPageVisibilityStateVisible;
}
+ // Overwrites the URL and MIME type of a YouTube Flash embed to use an
+ // HTML5 video player when possible
mlamouri (slow - plz ping) 2016/07/20 13:22:03 same as above
kdsilva 2016/07/21 13:59:46 Done.
+ virtual bool overrideEmbedInfo(WebString* url)
+ {
+ return false;
+ }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698