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 namespace content { | 7 namespace content { |
8 | 8 |
9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 9 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
10 return NULL; | 10 return NULL; |
11 } | 11 } |
12 | 12 |
13 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { | 13 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { |
14 return NULL; | 14 return NULL; |
15 } | 15 } |
16 | 16 |
| 17 blink::WebPluginPlaceholder* |
| 18 ContentRendererClient::OverrideCreatePluginPlaceholder( |
| 19 RenderFrame* render_frame, |
| 20 blink::WebLocalFrame* frame, |
| 21 const blink::WebPluginParams& params) { |
| 22 return nullptr; |
| 23 } |
| 24 |
17 bool ContentRendererClient::OverrideCreatePlugin( | 25 bool ContentRendererClient::OverrideCreatePlugin( |
18 RenderFrame* render_frame, | 26 RenderFrame* render_frame, |
19 blink::WebLocalFrame* frame, | 27 blink::WebLocalFrame* frame, |
20 const blink::WebPluginParams& params, | 28 const blink::WebPluginParams& params, |
21 blink::WebPlugin** plugin) { | 29 blink::WebPlugin** plugin) { |
22 return false; | 30 return false; |
23 } | 31 } |
24 | 32 |
25 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( | 33 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( |
26 RenderFrame* render_frame, | 34 RenderFrame* render_frame, |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 RenderFrame* render_frame, | 198 RenderFrame* render_frame, |
191 const std::string& mime_type) { | 199 const std::string& mime_type) { |
192 return NULL; | 200 return NULL; |
193 } | 201 } |
194 | 202 |
195 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 203 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
196 return std::string(); | 204 return std::string(); |
197 } | 205 } |
198 | 206 |
199 } // namespace content | 207 } // namespace content |
OLD | NEW |