| 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 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 183 | 183 |
| 184 bool ContentRendererClient::ShouldReportDetailedMessageForSource( | 184 bool ContentRendererClient::ShouldReportDetailedMessageForSource( |
| 185 const base::string16& source) const { | 185 const base::string16& source) const { |
| 186 return false; | 186 return false; |
| 187 } | 187 } |
| 188 | 188 |
| 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::WebWorkerContentSettingsClientProxy* |
| 194 ContentRendererClient::CreateWorkerPermissionClientProxy( | 194 ContentRendererClient::CreateWorkerContentSettingsClientProxy( |
| 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( | 199 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI( |
| 200 const GURL& url) { | 200 const GURL& url) { |
| 201 return false; | 201 return false; |
| 202 } | 202 } |
| 203 | 203 |
| 204 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { | 204 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { |
| 205 return false; | 205 return false; |
| 206 } | 206 } |
| 207 | 207 |
| 208 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { | 208 bool ContentRendererClient::IsPluginAllowedToUseDevChannelAPIs() { |
| 209 return false; | 209 return false; |
| 210 } | 210 } |
| 211 | 211 |
| 212 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( | 212 BrowserPluginDelegate* ContentRendererClient::CreateBrowserPluginDelegate( |
| 213 RenderFrame* render_frame, | 213 RenderFrame* render_frame, |
| 214 const std::string& mime_type, | 214 const std::string& mime_type, |
| 215 const GURL& original_url) { | 215 const GURL& original_url) { |
| 216 return nullptr; | 216 return nullptr; |
| 217 } | 217 } |
| 218 | 218 |
| 219 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { | 219 std::string ContentRendererClient::GetUserAgentOverrideForURL(const GURL& url) { |
| 220 return std::string(); | 220 return std::string(); |
| 221 } | 221 } |
| 222 | 222 |
| 223 } // namespace content | 223 } // namespace content |
| OLD | NEW |