OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |