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

Unified Diff: content/renderer/render_frame_impl.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
« no previous file with comments | « content/public/test/test_navigation_observer.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_frame_impl.h
diff --git a/content/renderer/render_frame_impl.h b/content/renderer/render_frame_impl.h
index cd89b850335fb9b7c1e7597bcd182fd847d41895..e5dd4699cfc9fdde09e4fa1d3217650dc090eecb 100644
--- a/content/renderer/render_frame_impl.h
+++ b/content/renderer/render_frame_impl.h
@@ -650,6 +650,8 @@ class CONTENT_EXPORT RenderFrameImpl
blink::WebString UserAgentOverride() override;
blink::WebString DoNotTrackValue() override;
bool AllowWebGL(bool default_value) override;
+ bool AllowContentInitiatedDataUrlNavigations(
+ const blink::WebURL& url) override;
blink::WebScreenOrientationClient* GetWebScreenOrientationClient() override;
void PostAccessibilityEvent(const blink::WebAXObject& obj,
blink::WebAXEvent event) override;
« no previous file with comments | « content/public/test/test_navigation_observer.cc ('k') | content/renderer/render_frame_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698