| 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/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 29 matching lines...) Expand all Loading... |
| 40 bool MockContentRendererClient::HasErrorPage(int http_status_code, | 40 bool MockContentRendererClient::HasErrorPage(int http_status_code, |
| 41 std::string* error_domain) { | 41 std::string* error_domain) { |
| 42 return false; | 42 return false; |
| 43 } | 43 } |
| 44 | 44 |
| 45 bool MockContentRendererClient::OverrideCreateWebMediaPlayer( | 45 bool MockContentRendererClient::OverrideCreateWebMediaPlayer( |
| 46 RenderView* render_view, | 46 RenderView* render_view, |
| 47 WebKit::WebMediaPlayerClient* client, | 47 WebKit::WebMediaPlayerClient* client, |
| 48 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, | 48 base::WeakPtr<webkit_media::WebMediaPlayerDelegate> delegate, |
| 49 media::FilterCollection* collection, | 49 media::FilterCollection* collection, |
| 50 WebKit::WebAudioSourceProvider* audio_source_provider, |
| 50 media::MessageLoopFactory* message_loop_factory, | 51 media::MessageLoopFactory* message_loop_factory, |
| 51 webkit_media::MediaStreamClient* media_stream_client, | 52 webkit_media::MediaStreamClient* media_stream_client, |
| 52 media::MediaLog* media_log, | 53 media::MediaLog* media_log, |
| 53 webkit_media::WebMediaPlayerImpl** player) { | 54 webkit_media::WebMediaPlayerImpl** player) { |
| 54 return false; | 55 return false; |
| 55 } | 56 } |
| 56 | 57 |
| 57 void MockContentRendererClient::GetNavigationErrorStrings( | 58 void MockContentRendererClient::GetNavigationErrorStrings( |
| 58 const WebKit::WebURLRequest& failed_request, | 59 const WebKit::WebURLRequest& failed_request, |
| 59 const WebKit::WebURLError& error, | 60 const WebKit::WebURLError& error, |
| (...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 | 133 |
| 133 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( | 134 void MockContentRendererClient::RegisterPPAPIInterfaceFactories( |
| 134 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { | 135 webkit::ppapi::PpapiInterfaceFactoryManager* factory_manager) { |
| 135 } | 136 } |
| 136 | 137 |
| 137 bool MockContentRendererClient::AllowSocketAPI(const GURL& url) { | 138 bool MockContentRendererClient::AllowSocketAPI(const GURL& url) { |
| 138 return false; | 139 return false; |
| 139 } | 140 } |
| 140 | 141 |
| 141 } // namespace content | 142 } // namespace content |
| OLD | NEW |