| 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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 186 bool ContentRendererClient::IsPluginAllowedToUseVideoDecodeAPI( | 187 bool ContentRendererClient::IsPluginAllowedToUseVideoDecodeAPI( |
| 187 const GURL& url) { | 188 const GURL& url) { |
| 188 return false; | 189 return false; |
| 189 } | 190 } |
| 190 | 191 |
| 191 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { | 192 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { |
| 192 return false; | 193 return false; |
| 193 } | 194 } |
| 194 | 195 |
| 195 } // namespace content | 196 } // namespace content |
| OLD | NEW |