| 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" | |
| 11 | 10 |
| 12 namespace content { | 11 namespace content { |
| 13 | 12 |
| 14 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 13 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
| 15 return nullptr; | 14 return nullptr; |
| 16 } | 15 } |
| 17 | 16 |
| 18 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { | 17 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { |
| 19 return nullptr; | 18 return nullptr; |
| 20 } | 19 } |
| 21 | 20 |
| 22 scoped_ptr<blink::WebPluginPlaceholder> | |
| 23 ContentRendererClient::CreatePluginPlaceholder( | |
| 24 RenderFrame* render_frame, | |
| 25 blink::WebLocalFrame* frame, | |
| 26 const blink::WebPluginParams& params) { | |
| 27 return nullptr; | |
| 28 } | |
| 29 | |
| 30 bool ContentRendererClient::OverrideCreatePlugin( | 21 bool ContentRendererClient::OverrideCreatePlugin( |
| 31 RenderFrame* render_frame, | 22 RenderFrame* render_frame, |
| 32 blink::WebLocalFrame* frame, | 23 blink::WebLocalFrame* frame, |
| 33 const blink::WebPluginParams& params, | 24 const blink::WebPluginParams& params, |
| 34 blink::WebPlugin** plugin) { | 25 blink::WebPlugin** plugin) { |
| 35 return false; | 26 return false; |
| 36 } | 27 } |
| 37 | 28 |
| 38 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( | 29 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( |
| 39 RenderFrame* render_frame, | 30 RenderFrame* render_frame, |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 210 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 201 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
| 211 return std::string(); | 202 return std::string(); |
| 212 } | 203 } |
| 213 | 204 |
| 214 scoped_ptr<blink::WebAppBannerClient> | 205 scoped_ptr<blink::WebAppBannerClient> |
| 215 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { | 206 ContentRendererClient::CreateAppBannerClient(RenderFrame* render_frame) { |
| 216 return nullptr; | 207 return nullptr; |
| 217 } | 208 } |
| 218 | 209 |
| 219 } // namespace content | 210 } // namespace content |
| OLD | NEW |