| 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" |
| 11 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" | 11 #include "third_party/WebKit/public/platform/WebRTCPeerConnectionHandler.h" |
| 12 #include "third_party/WebKit/public/platform/WebSpeechSynthesizer.h" | 12 #include "third_party/WebKit/public/platform/WebSpeechSynthesizer.h" |
| 13 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" | 13 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" |
| 14 #include "ui/gfx/icc_profile.h" | 14 #include "ui/gfx/icc_profile.h" |
| 15 #include "url/gurl.h" | 15 #include "url/gurl.h" |
| 16 | 16 |
| 17 namespace content { | 17 namespace content { |
| 18 | 18 |
| 19 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 19 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
| 20 return nullptr; | 20 return nullptr; |
| 21 } | 21 } |
| 22 | 22 |
| 23 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { | 23 SkBitmap* ContentRendererClient::GetSadWebViewBitmap() { |
| 24 return nullptr; | 24 return nullptr; |
| 25 } | 25 } |
| 26 | 26 |
| 27 bool ContentRendererClient::OverrideCreatePlugin( | 27 bool ContentRendererClient::OverrideCreatePlugin( |
| 28 RenderFrame* render_frame, | 28 RenderFrame* render_frame, |
| 29 blink::WebLocalFrame* frame, | |
| 30 const blink::WebPluginParams& params, | 29 const blink::WebPluginParams& params, |
| 31 blink::WebPlugin** plugin) { | 30 blink::WebPlugin** plugin) { |
| 32 return false; | 31 return false; |
| 33 } | 32 } |
| 34 | 33 |
| 35 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( | 34 blink::WebPlugin* ContentRendererClient::CreatePluginReplacement( |
| 36 RenderFrame* render_frame, | 35 RenderFrame* render_frame, |
| 37 const base::FilePath& plugin_path) { | 36 const base::FilePath& plugin_path) { |
| 38 return nullptr; | 37 return nullptr; |
| 39 } | 38 } |
| (...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 249 std::unique_ptr<base::TaskScheduler::InitParams> | 248 std::unique_ptr<base::TaskScheduler::InitParams> |
| 250 ContentRendererClient::GetTaskSchedulerInitParams() { | 249 ContentRendererClient::GetTaskSchedulerInitParams() { |
| 251 return nullptr; | 250 return nullptr; |
| 252 } | 251 } |
| 253 | 252 |
| 254 bool ContentRendererClient::AllowMediaSuspend() { | 253 bool ContentRendererClient::AllowMediaSuspend() { |
| 255 return true; | 254 return true; |
| 256 } | 255 } |
| 257 | 256 |
| 258 } // namespace content | 257 } // namespace content |
| OLD | NEW |