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

Unified Diff: content/renderer/render_view_impl.cc

Issue 23455047: InstantExtended: Send search URLs to renderers. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Missing files. Created 7 years, 3 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/renderer/content_renderer_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_view_impl.cc
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc
index 3d4704ebcdeae24a8a5937441d92c0f5ea6c5a44..6908fe6bc7ccc5e57216816c407df82657330e62 100644
--- a/content/renderer/render_view_impl.cc
+++ b/content/renderer/render_view_impl.cc
@@ -3692,6 +3692,12 @@ void RenderViewImpl::didFailProvisionalLoad(WebFrame* frame,
document_state->request_time();
}
+ // Allow the embedder to suppress an error page.
+ if (GetContentClient()->renderer()->ShouldSuppressErrorPage(
Charlie Reis 2013/09/13 22:33:17 Please coordinate with lazyboy@ on this, since he'
Charlie Reis 2013/09/13 22:58:09 I'm not sure I understand your reply. Which part
Jered 2013/09/16 22:30:47 Sorry, I confused myself, you're right. Moved the
+ error.unreachableURL)) {
+ return;
+ }
+
// Provide the user with a more helpful error page?
if (MaybeLoadAlternateErrorPage(frame, error, replace))
return;
« no previous file with comments | « content/public/renderer/content_renderer_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698