OLD | NEW |
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/renderer/content_renderer_client.h" | 5 #include "content/renderer/content_renderer_client.h" |
6 | 6 |
7 #include "base/file_path.h" | 7 #include "base/file_path.h" |
8 #include "content/renderer/render_view.h" | 8 #include "content/renderer/render_view.h" |
9 | 9 |
10 using WebKit::WebFrame; | 10 using WebKit::WebFrame; |
(...skipping 15 matching lines...) Expand all Loading... |
26 std::string ContentRendererClient::GetDefaultEncoding() { | 26 std::string ContentRendererClient::GetDefaultEncoding() { |
27 return std::string(); | 27 return std::string(); |
28 } | 28 } |
29 | 29 |
30 WebKit::WebPlugin* ContentRendererClient::CreatePlugin(RenderView* render_view, | 30 WebKit::WebPlugin* ContentRendererClient::CreatePlugin(RenderView* render_view, |
31 WebFrame* frame, | 31 WebFrame* frame, |
32 const WebKit::WebPluginParams& params) { | 32 const WebKit::WebPluginParams& params) { |
33 return render_view->CreatePluginNoCheck(frame, params); | 33 return render_view->CreatePluginNoCheck(frame, params); |
34 } | 34 } |
35 | 35 |
| 36 void ContentRendererClient::ShowErrorPage(RenderView* render_view, |
| 37 WebKit::WebFrame* frame, |
| 38 int http_status_code) { |
| 39 } |
| 40 |
36 std::string ContentRendererClient::GetNavigationErrorHtml( | 41 std::string ContentRendererClient::GetNavigationErrorHtml( |
37 const WebKit::WebURLRequest& failed_request, | 42 const WebKit::WebURLRequest& failed_request, |
38 const WebKit::WebURLError& error) { | 43 const WebKit::WebURLError& error) { |
39 return std::string(); | 44 return std::string(); |
40 } | 45 } |
41 | 46 |
42 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 47 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
43 return true; | 48 return true; |
44 } | 49 } |
45 | 50 |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 | 89 |
85 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { | 90 bool ContentRendererClient::IsLinkVisited(unsigned long long link_hash) { |
86 return false; | 91 return false; |
87 } | 92 } |
88 | 93 |
89 void ContentRendererClient::PrefetchHostName(const char* hostname, | 94 void ContentRendererClient::PrefetchHostName(const char* hostname, |
90 size_t length) { | 95 size_t length) { |
91 } | 96 } |
92 | 97 |
93 } // namespace content | 98 } // namespace content |
OLD | NEW |