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