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

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: 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/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 e320cddb7837dc044f483970dc2a1f81f1f0f9ee..005c79608047f90a8061b8c479111cffd42cfa3c 100644
--- a/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
+++ b/third_party/WebKit/Source/core/loader/FrameLoaderClient.h
@@ -272,6 +272,10 @@ public:
// Effective connection type when this frame was loaded.
virtual WebEffectiveConnectionType getEffectiveConnectionType() { return WebEffectiveConnectionType::TypeUnknown; }
+
+ // Overwrites the given URL to use an HTML5 embed if possible.
+ // A null URL is returned if the URL is not overriden.
+ virtual KURL overrideFlashEmbedWithHTML(const KURL&) { return KURL(); }
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698