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

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, 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..8bfac38def29ba48ba6c6ed81e75cf8abaf99625 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.
+ // An empty string is returned if the URL is not overriden.
+ virtual WebString overrideFlashEmbedWithHTML(const WebString& url)
+ {
+ return WebString();
mlamouri (slow - plz ping) 2016/07/30 17:46:06 I believe WebString is utf16 and has an null state
kdsilva 2016/08/01 12:42:45 Yup! You're right.
+ }
+
protected:
virtual ~WebFrameClient() { }
};
« chrome/test/data/flash_embeds.html ('K') | « third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698