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

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: 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/public/web/WebFrameClient.h
diff --git a/third_party/WebKit/public/web/WebFrameClient.h b/third_party/WebKit/public/web/WebFrameClient.h
index 6f2e7bbeeef6d1bc0e5bffe023a632d9eb54eb00..b3263d9608fb474f47c47bc5475cb6d269862c77 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.
mlamouri (slow - plz ping) 2016/07/28 13:05:13 The description should say that the empty string s
kdsilva 2016/07/28 15:17:18 Done.
+ virtual WebString overrideFlashEmbedWithHTML(const WebString& url)
+ {
+ return "";
+ }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698