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

Unified Diff: third_party/WebKit/Source/web/LocalFrameClientImpl.h

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: Fix Android PDF tests where PDFs should be downloaded Created 3 years, 8 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/web/LocalFrameClientImpl.h
diff --git a/third_party/WebKit/Source/web/LocalFrameClientImpl.h b/third_party/WebKit/Source/web/LocalFrameClientImpl.h
index b989c5f3b586ad188e0e0ceff4313a5ee6a43152..43bc8445608cc56cb563609c492a0f024a1278eb 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.h
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.h
@@ -169,6 +169,8 @@ class LocalFrameClientImpl final : public LocalFrameClient {
void DidChangeScrollOffset() override;
void DidUpdateCurrentHistoryItem() override;
+ bool AllowContentInitiatedDataUrlNavigations(const KURL&) override;
+
WebCookieJar* CookieJar() const override;
void FrameFocused() const override;
void DidChangeName(const String&) override;
« no previous file with comments | « third_party/WebKit/Source/platform/network/NetworkUtils.cpp ('k') | third_party/WebKit/Source/web/LocalFrameClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698