| 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/public/renderer/content_renderer_client.h" | 5 #include "content/public/renderer/content_renderer_client.h" |
| 6 | 6 |
| 7 #include "content/public/renderer/media_stream_renderer_factory.h" | 7 #include "content/public/renderer/media_stream_renderer_factory.h" |
| 8 #include "media/base/renderer_factory.h" | 8 #include "media/base/renderer_factory.h" |
| 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" | 9 #include "third_party/WebKit/public/platform/modules/app_banner/WebAppBannerClie
nt.h" |
| 10 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" | 10 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 bool ContentRendererClient::HasErrorPage(int http_status_code, | 44 bool ContentRendererClient::HasErrorPage(int http_status_code, |
| 45 std::string* error_domain) { | 45 std::string* error_domain) { |
| 46 return false; | 46 return false; |
| 47 } | 47 } |
| 48 | 48 |
| 49 bool ContentRendererClient::ShouldSuppressErrorPage(RenderFrame* render_frame, | 49 bool ContentRendererClient::ShouldSuppressErrorPage(RenderFrame* render_frame, |
| 50 const GURL& url) { | 50 const GURL& url) { |
| 51 return false; | 51 return false; |
| 52 } | 52 } |
| 53 | 53 |
| 54 void ContentRendererClient::DeferMediaLoad(RenderFrame* render_frame, | 54 void ContentRendererClient::DeferMediaLoad( |
| 55 const base::Closure& closure) { | 55 RenderFrame* render_frame, |
| 56 bool has_played_media_before, |
| 57 const base::Closure& closure) { |
| 56 closure.Run(); | 58 closure.Run(); |
| 57 } | 59 } |
| 58 | 60 |
| 59 blink::WebMediaStreamCenter* | 61 blink::WebMediaStreamCenter* |
| 60 ContentRendererClient::OverrideCreateWebMediaStreamCenter( | 62 ContentRendererClient::OverrideCreateWebMediaStreamCenter( |
| 61 blink::WebMediaStreamCenterClient* client) { | 63 blink::WebMediaStreamCenterClient* client) { |
| 62 return nullptr; | 64 return nullptr; |
| 63 } | 65 } |
| 64 | 66 |
| 65 blink::WebRTCPeerConnectionHandler* | 67 blink::WebRTCPeerConnectionHandler* |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 210 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
| 209 return std::string(); | 211 return std::string(); |
| 210 } | 212 } |
| 211 | 213 |
| 212 scoped_ptr<blink::WebAppBannerClient> | 214 scoped_ptr<blink::WebAppBannerClient> |
| 213 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { | 215 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { |
| 214 return nullptr; | 216 return nullptr; |
| 215 } | 217 } |
| 216 | 218 |
| 217 } // namespace content | 219 } // namespace content |
| OLD | NEW |