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

Unified Diff: third_party/WebKit/Source/core/loader/FrameLoaderClient.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/Source/core/loader/FrameLoaderClient.h
diff --git a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
index d16e979f95d4e4d020982d9ffd080cf32a05adf1..7e422e9765b4626ae9b440907f9a9c70cd907961 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
@@ -273,6 +273,9 @@ public:
// Effective connection type when this frame was loaded.
virtual WebEffectiveConnectionType getEffectiveConnectionType() { return WebEffectiveConnectionType::TypeUnknown; }
+
+ // 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 String OverrideFlashEmbedWithHTML(const String&) { return ""; }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698