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

Unified Diff: content/public/renderer/content_renderer_client.h

Issue 134183002: Pass frame to ChromeContentRendererClient::ShouldSuppressErrorPage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@lkgr
Patch Set: Fix nits Created 6 years, 11 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: content/public/renderer/content_renderer_client.h
diff --git a/content/public/renderer/content_renderer_client.h b/content/public/renderer/content_renderer_client.h
index 958d1faa26a2b1c141accf4147e6b9a7be601f97..c01e3527d13467747a439df761330fb0e70a6456 100644
--- a/content/public/renderer/content_renderer_client.h
+++ b/content/public/renderer/content_renderer_client.h
@@ -106,8 +106,9 @@ class CONTENT_EXPORT ContentRendererClient {
std::string* error_domain);
// Returns true if the embedder prefers not to show an error page for a failed
- // navigation to |url|.
- virtual bool ShouldSuppressErrorPage(const GURL& url);
+ // navigation to |url| in |render_frame|.
+ virtual bool ShouldSuppressErrorPage(RenderFrame* render_frame,
+ const GURL& url);
// Returns the information to display when a navigation error occurs.
// If |error_html| is not null then it may be set to a HTML page containing

Powered by Google App Engine
This is Rietveld 408576698