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

Side by Side Diff: content/shell/shell_content_renderer_client.cc

Issue 8142032: Add error description to the DidFailProvisionalLoad callback. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/shell/shell_content_renderer_client.h" 5 #include "content/shell/shell_content_renderer_client.h"
6 6
7 #include "v8/include/v8.h" 7 #include "v8/include/v8.h"
8 8
9 namespace content { 9 namespace content {
10 10
(...skipping 29 matching lines...) Expand all
40 WebKit::WebFrame* frame, 40 WebKit::WebFrame* frame,
41 int http_status_code) { 41 int http_status_code) {
42 } 42 }
43 43
44 std::string ShellContentRendererClient::GetNavigationErrorHtml( 44 std::string ShellContentRendererClient::GetNavigationErrorHtml(
45 const WebKit::WebURLRequest& failed_request, 45 const WebKit::WebURLRequest& failed_request,
46 const WebKit::WebURLError& error) { 46 const WebKit::WebURLError& error) {
47 return std::string(); 47 return std::string();
48 } 48 }
49 49
50 string16 ShellContentRendererClient::GetNavigationErrorDescription(
51 const WebKit::WebURLRequest& failed_request,
52 const WebKit::WebURLError& error) {
53 return string16();
54 }
55
50 bool ShellContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { 56 bool ShellContentRendererClient::RunIdleHandlerWhenWidgetsHidden() {
51 return true; 57 return true;
52 } 58 }
53 59
54 bool ShellContentRendererClient::AllowPopup(const GURL& creator) { 60 bool ShellContentRendererClient::AllowPopup(const GURL& creator) {
55 return false; 61 return false;
56 } 62 }
57 63
58 bool ShellContentRendererClient::ShouldFork(WebKit::WebFrame* frame, 64 bool ShellContentRendererClient::ShouldFork(WebKit::WebFrame* frame,
59 const GURL& url, 65 const GURL& url,
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 const GURL& first_party_for_cookies, 120 const GURL& first_party_for_cookies,
115 const std::string& value) { 121 const std::string& value) {
116 return false; 122 return false;
117 } 123 }
118 124
119 bool ShellContentRendererClient::IsProtocolSupportedForMedia(const GURL& url) { 125 bool ShellContentRendererClient::IsProtocolSupportedForMedia(const GURL& url) {
120 return false; 126 return false;
121 } 127 }
122 128
123 } // namespace content 129 } // namespace content
OLDNEW
« content/renderer/render_view.cc ('K') | « content/shell/shell_content_renderer_client.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698