| 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/renderer/mock_content_renderer_client.h" | 5 #include "content/renderer/mock_content_renderer_client.h" |
| 6 | 6 |
| 7 #include <string> | 7 #include <string> |
| 8 #include "v8/include/v8.h" | 8 #include "v8/include/v8.h" |
| 9 | 9 |
| 10 namespace content { | 10 namespace content { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 | 31 |
| 32 bool MockContentRendererClient::OverrideCreatePlugin( | 32 bool MockContentRendererClient::OverrideCreatePlugin( |
| 33 RenderView* render_view, | 33 RenderView* render_view, |
| 34 WebKit::WebFrame* frame, | 34 WebKit::WebFrame* frame, |
| 35 const WebKit::WebPluginParams& params, | 35 const WebKit::WebPluginParams& params, |
| 36 WebKit::WebPlugin** plugin) { | 36 WebKit::WebPlugin** plugin) { |
| 37 return false; | 37 return false; |
| 38 } | 38 } |
| 39 | 39 |
| 40 WebKit::WebPlugin* MockContentRendererClient::CreatePluginReplacement( |
| 41 RenderView* render_view, |
| 42 const FilePath& plugin_path) { |
| 43 return NULL; |
| 44 } |
| 45 |
| 40 bool MockContentRendererClient::HasErrorPage(int http_status_code, | 46 bool MockContentRendererClient::HasErrorPage(int http_status_code, |
| 41 std::string* error_domain) { | 47 std::string* error_domain) { |
| 42 return false; | 48 return false; |
| 43 } | 49 } |
| 44 | 50 |
| 45 webkit_media::WebMediaPlayerImpl* | 51 webkit_media::WebMediaPlayerImpl* |
| 46 MockContentRendererClient::OverrideCreateWebMediaPlayer( | 52 MockContentRendererClient::OverrideCreateWebMediaPlayer( |
| 47 RenderView* render_view, | 53 RenderView* render_view, |
| 48 WebKit::WebFrame* frame, | 54 WebKit::WebFrame* frame, |
| 49 WebKit::WebMediaPlayerClient* client, | 55 WebKit::WebMediaPlayerClient* client, |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 const GURL& first_party_for_cookies, | 136 const GURL& first_party_for_cookies, |
| 131 const std::string& value) { | 137 const std::string& value) { |
| 132 return false; | 138 return false; |
| 133 } | 139 } |
| 134 | 140 |
| 135 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( | 141 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( |
| 136 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 142 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
| 137 } | 143 } |
| 138 | 144 |
| 139 } // namespace content | 145 } // namespace content |
| OLD | NEW |