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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { | 189 bool ContentRendererClient::ShouldEnableSiteIsolationPolicy() const { |
190 return true; | 190 return true; |
191 } | 191 } |
192 | 192 |
193 blink::WebWorkerPermissionClientProxy* | 193 blink::WebWorkerPermissionClientProxy* |
194 ContentRendererClient::CreateWorkerPermissionClientProxy( | 194 ContentRendererClient::CreateWorkerPermissionClientProxy( |
195 RenderFrame* render_frame, blink::WebFrame* frame) { | 195 RenderFrame* render_frame, blink::WebFrame* frame) { |
196 return nullptr; | 196 return nullptr; |
197 } | 197 } |
198 | 198 |
| 199 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI( |
| 200 const GURL& url) { |
| 201 return false; |
| 202 } |
| 203 |
199 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { | 204 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { |
200 return false; | 205 return false; |
201 } | 206 } |
202 | 207 |
203 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { | 208 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { |
204 return false; | 209 return false; |
205 } | 210 } |
206 | 211 |
207 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( | 212 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( |
208 RenderFrame* render_frame, | 213 RenderFrame* render_frame, |
209 const std::string& mime_type, | 214 const std::string& mime_type, |
210 const GURL& original_url) { | 215 const GURL& original_url) { |
211 return nullptr; | 216 return nullptr; |
212 } | 217 } |
213 | 218 |
214 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 219 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
215 return std::string(); | 220 return std::string(); |
216 } | 221 } |
217 | 222 |
218 } // namespace content | 223 } // namespace content |
OLD | NEW |