From 7ccddb8cc40f885a50541c4f45afc4253ce3c065 Mon Sep 17 00:00:00 2001 From: "darin@chromium.org" Date: Tue, 4 Aug 2009 17:36:55 +0000 Subject: Move alternate 404 error page loading out of WebFrame and into RenderView. This involved adding a new method on WebViewDelegate to allow the embedder to intercept data being loaded for a document. I also had to plumb a few more FrameLoaderClient notifications through WebViewDelegate. See DidReceiveResponse and DidFinishLoading. R=tony BUG=15648 TEST=covered by errorpage_uitest.cc Review URL: http://codereview.chromium.org/160578 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22389 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/tab_contents/tab_contents.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'chrome/browser') diff --git a/chrome/browser/tab_contents/tab_contents.cc b/chrome/browser/tab_contents/tab_contents.cc index 7fcbe0a..9b11bdc 100644 --- a/chrome/browser/tab_contents/tab_contents.cc +++ b/chrome/browser/tab_contents/tab_contents.cc @@ -2201,8 +2201,8 @@ GURL TabContents::GetAlternateErrorPageURL() const { WebPreferences TabContents::GetWebkitPrefs() { PrefService* prefs = render_view_host()->process()->profile()->GetPrefs(); - bool isDomUI = false; - return RenderViewHostDelegateHelper::GetWebkitPrefs(prefs, isDomUI); + bool is_dom_ui = false; + return RenderViewHostDelegateHelper::GetWebkitPrefs(prefs, is_dom_ui); } void TabContents::OnJSOutOfMemory() { -- cgit v1.1