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

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

Issue 10274020: Revert 134620 - Show a replacement plug-in for loading errors. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 7 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
« no previous file with comments | « content/shell/shell_content_renderer_client.h ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 "content/shell/shell_render_process_observer.h" 7 #include "content/shell/shell_render_process_observer.h"
8 #include "content/shell/shell_render_view_observer.h" 8 #include "content/shell/shell_render_view_observer.h"
9 #include "v8/include/v8.h" 9 #include "v8/include/v8.h"
10 10
(...skipping 25 matching lines...) Expand all
36 } 36 }
37 37
38 bool ShellContentRendererClient::OverrideCreatePlugin( 38 bool ShellContentRendererClient::OverrideCreatePlugin(
39 RenderView* render_view, 39 RenderView* render_view,
40 WebKit::WebFrame* frame, 40 WebKit::WebFrame* frame,
41 const WebKit::WebPluginParams& params, 41 const WebKit::WebPluginParams& params,
42 WebKit::WebPlugin** plugin) { 42 WebKit::WebPlugin** plugin) {
43 return false; 43 return false;
44 } 44 }
45 45
46 WebKit::WebPlugin* ShellContentRendererClient::CreatePluginReplacement(
47 RenderView* render_view,
48 const FilePath& plugin_path) {
49 return NULL;
50 }
51
52 bool ShellContentRendererClient::HasErrorPage(int http_status_code, 46 bool ShellContentRendererClient::HasErrorPage(int http_status_code,
53 std::string* error_domain) { 47 std::string* error_domain) {
54 return false; 48 return false;
55 } 49 }
56 50
57 void ShellContentRendererClient::GetNavigationErrorStrings( 51 void ShellContentRendererClient::GetNavigationErrorStrings(
58 const WebKit::WebURLRequest& failed_request, 52 const WebKit::WebURLRequest& failed_request,
59 const WebKit::WebURLError& error, 53 const WebKit::WebURLError& error,
60 std::string* error_html, 54 std::string* error_html,
61 string16* error_description) { 55 string16* error_description) {
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
142 const GURL& first_party_for_cookies, 136 const GURL& first_party_for_cookies,
143 const std::string& value) { 137 const std::string& value) {
144 return false; 138 return false;
145 } 139 }
146 140
147 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories( 141 void ShellContentRendererClient::RegisterPPAPIInterfaceFactories(
148 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { 142 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) {
149 } 143 }
150 144
151 } // namespace content 145 } // namespace content
OLDNEW
« no previous file with comments | « content/shell/shell_content_renderer_client.h ('k') | webkit/plugins/npapi/webplugin_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698