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

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: Created 4 years, 4 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 a9e59c4bea53b6f7d8ae4dbf091ebc1fa05c81bb..b70d94c586ceda7b36044f4d354ef87f440e19bf 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 embed if possible.
+ // A null URL is returned if the URL is not overriden.
+ virtual WebURL overrideFlashEmbedWithHTML(const WebURL& url)
+ {
+ return WebURL();
+ }
+
protected:
virtual ~WebFrameClient() { }
};

Powered by Google App Engine
This is Rietveld 408576698