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

Unified Diff: chrome/renderer/render_view.h

Issue 159575: Move alternate error page loading out of WebFrame.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.h
===================================================================
--- chrome/renderer/render_view.h (revision 22154)
+++ chrome/renderer/render_view.h (working copy)
@@ -609,8 +609,13 @@
// Locates a sub frame with given xpath
WebFrame* GetChildFrame(const std::wstring& frame_xpath) const;
- std::string GetAltHTMLForTemplate(const DictionaryValue& error_strings,
- int template_resource_id) const;
+ // Alternate error page helpers.
+ bool MaybeLoadAlternateErrorPage(
+ WebFrame* frame, const WebKit::WebURLError& error, bool replace);
+ std::string GetAltHTMLForTemplate(
+ const DictionaryValue& error_strings, int template_resource_id) const;
+ void AltErrorPageFinished(
+ WebFrame* frame, const GURL& unreachable_url, const std::string& html);
virtual void DidAddHistoryItem();
« no previous file with comments | « chrome/renderer/navigation_state.h ('k') | chrome/renderer/render_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698