| 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 24 matching lines...) Expand all Loading... |
| 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 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::ShouldOverrideCreateWebMediaPlayer( |
| 46 RenderView* view) { |
| 47 return false; |
| 48 } |
| 49 |
| 50 void MockContentRendererClient::OverrideCreateWebMediaPlayer( |
| 51 RenderView* render_view, |
| 52 WebKit::WebMediaPlayerClient* client, |
| 53 media::FilterCollection* collection, |
| 54 media::MessageLoopFactory* message_loop_factory, |
| 55 webkit_glue::MediaStreamClient* media_stream_client, |
| 56 media::MediaLog* media_log, |
| 57 webkit_glue::WebMediaPlayerImpl** player) { |
| 58 } |
| 59 |
| 45 void MockContentRendererClient::GetNavigationErrorStrings( | 60 void MockContentRendererClient::GetNavigationErrorStrings( |
| 46 const WebKit::WebURLRequest& failed_request, | 61 const WebKit::WebURLRequest& failed_request, |
| 47 const WebKit::WebURLError& error, | 62 const WebKit::WebURLError& error, |
| 48 std::string* error_html, | 63 std::string* error_html, |
| 49 string16* error_description) { | 64 string16* error_description) { |
| 50 } | 65 } |
| 51 | 66 |
| 52 bool MockContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 67 bool MockContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 53 return true; | 68 return true; |
| 54 } | 69 } |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 116 const GURL& first_party_for_cookies, | 131 const GURL& first_party_for_cookies, |
| 117 const std::string& value) { | 132 const std::string& value) { |
| 118 return false; | 133 return false; |
| 119 } | 134 } |
| 120 | 135 |
| 121 bool MockContentRendererClient::IsProtocolSupportedForMedia(const GURL& url) { | 136 bool MockContentRendererClient::IsProtocolSupportedForMedia(const GURL& url) { |
| 122 return false; | 137 return false; |
| 123 } | 138 } |
| 124 | 139 |
| 125 } // namespace content | 140 } // namespace content |
| OLD | NEW |