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

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

Issue 2702503002: Block renderer-initiated main frame navigations to data URLs (Closed)
Patch Set: kinuko comments 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 6228f89ae189a737ea44b49b0dba84abd5055e76..36c6887afb9bbf097cdad230b588061c4de6bcfe 100644
--- a/third_party/WebKit/Source/web/LocalFrameClientImpl.h
+++ b/third_party/WebKit/Source/web/LocalFrameClientImpl.h
@@ -168,6 +168,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;

Powered by Google App Engine
This is Rietveld 408576698