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

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 b44260a70931e1fa22115fcc035fd04daebb29c0..637bdbbc202b1f6d0ea322080b48e1310926732d 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;

Powered by Google App Engine
This is Rietveld 408576698