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 "content/public/renderer/media_stream_renderer_factory.h" | 7 #include "content/public/renderer/media_stream_renderer_factory.h" |
8 #include "media/base/renderer_factory.h" | 8 #include "media/base/renderer_factory.h" |
9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" | 9 #include "third_party/WebKit/public/platform/WebAudioDevice.h" |
10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" | 10 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
(...skipping 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 const base::string16& source) const { | 208 const base::string16& source) const { |
209 return false; | 209 return false; |
210 } | 210 } |
211 | 211 |
212 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { | 212 bool ContentRendererClient::ShouldGatherSiteIsolationStats() const { |
213 return true; | 213 return true; |
214 } | 214 } |
215 | 215 |
216 std::unique_ptr<blink::WebContentSettingsClient> | 216 std::unique_ptr<blink::WebContentSettingsClient> |
217 ContentRendererClient::CreateWorkerContentSettingsClient( | 217 ContentRendererClient::CreateWorkerContentSettingsClient( |
218 RenderFrame* render_frame, | 218 RenderFrame* render_frame) { |
219 blink::WebFrame* frame) { | |
220 return nullptr; | 219 return nullptr; |
221 } | 220 } |
222 | 221 |
223 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI( | 222 bool ContentRendererClient::IsPluginAllowedToUseCameraDeviceAPI( |
224 const GURL& url) { | 223 const GURL& url) { |
225 return false; | 224 return false; |
226 } | 225 } |
227 | 226 |
228 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { | 227 bool ContentRendererClient::IsPluginAllowedToUseCompositorAPI(const GURL& url) { |
229 return false; | 228 return false; |
(...skipping 21 matching lines...) Expand all Loading... |
251 std::unique_ptr<base::TaskScheduler::InitParams> | 250 std::unique_ptr<base::TaskScheduler::InitParams> |
252 ContentRendererClient::GetTaskSchedulerInitParams() { | 251 ContentRendererClient::GetTaskSchedulerInitParams() { |
253 return nullptr; | 252 return nullptr; |
254 } | 253 } |
255 | 254 |
256 bool ContentRendererClient::AllowMediaSuspend() { | 255 bool ContentRendererClient::AllowMediaSuspend() { |
257 return true; | 256 return true; |
258 } | 257 } |
259 | 258 |
260 } // namespace content | 259 } // namespace content |
OLD | NEW |