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 "media/base/renderer_factory.h" | 7 #include "media/base/renderer_factory.h" |
8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" | 8 #include "third_party/WebKit/public/web/WebPluginPlaceholder.h" |
9 | 9 |
10 namespace content { | 10 namespace content { |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
191 blink::WebWorkerPermissionClientProxy* | 191 blink::WebWorkerPermissionClientProxy* |
192 ContentRendererClient::CreateWorkerPermissionClientProxy( | 192 ContentRendererClient::CreateWorkerPermissionClientProxy( |
193 RenderFrame* render_frame, blink::WebFrame* frame) { | 193 RenderFrame* render_frame, blink::WebFrame* frame) { |
194 return nullptr; | 194 return nullptr; |
195 } | 195 } |
196 | 196 |
197 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { | 197 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { |
198 return false; | 198 return false; |
199 } | 199 } |
200 | 200 |
201 bool ContentRendererClient::IsPluginAllowedToUseVideoDecodeAPI( | |
202 const GURL& url) { | |
203 return false; | |
204 } | |
205 | |
206 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { | 201 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { |
207 return false; | 202 return false; |
208 } | 203 } |
209 | 204 |
210 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( | 205 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( |
211 RenderFrame* render_frame, | 206 RenderFrame* render_frame, |
212 const std::string& mime_type, | 207 const std::string& mime_type, |
213 const GURL& original_url) { | 208 const GURL& original_url) { |
214 return nullptr; | 209 return nullptr; |
215 } | 210 } |
216 | 211 |
217 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 212 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
218 return std::string(); | 213 return std::string(); |
219 } | 214 } |
220 | 215 |
221 } // namespace content | 216 } // namespace content |
OLD | NEW |