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 std::string ContentRendererClient::GetDefaultEncoding() { | 17 std::string ContentRendererClient::GetDefaultEncoding() { |
18 return std::string(); | 18 return std::string(); |
19 } | 19 } |
20 | 20 |
21 bool ContentRendererClient::OverrideCreatePlugin( | 21 bool ContentRendererClient::OverrideCreatePlugin( |
22 RenderFrame* render_frame, | 22 RenderFrame* render_frame, |
23 blink::WebLocalFrame* frame, | 23 blink::WebLocalFrame* frame, |
24 const blink::WebPluginParams& params, | 24 const blink::WebPluginParams& params, |
| 25 int* instance_id, |
25 blink::WebPlugin** plugin) { | 26 blink::WebPlugin** plugin) { |
26 return false; | 27 return false; |
27 } | 28 } |
28 | 29 |
29 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( | 30 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( |
30 RenderFrame* render_frame, | 31 RenderFrame* render_frame, |
31 const base::FilePath& plugin_path) { | 32 const base::FilePath& plugin_path) { |
32 return NULL; | 33 return NULL; |
33 } | 34 } |
34 | 35 |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
171 return true; | 172 return true; |
172 } | 173 } |
173 | 174 |
174 blink::WebWorkerPermissionClientProxy* | 175 blink::WebWorkerPermissionClientProxy* |
175 ContentRendererClient::CreateWorkerPermissionClientProxy( | 176 ContentRendererClient::CreateWorkerPermissionClientProxy( |
176 RenderFrame* render_frame, blink::WebFrame* frame) { | 177 RenderFrame* render_frame, blink::WebFrame* frame) { |
177 return NULL; | 178 return NULL; |
178 } | 179 } |
179 | 180 |
180 } // namespace content | 181 } // namespace content |
OLD | NEW |