| 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/WebSocketHandshakeThrottle.h" |
| 12 #include "third_party/WebKit/public/platform/WebSpeechSynthesizer.h" | 13 #include "third_party/WebKit/public/platform/WebSpeechSynthesizer.h" |
| 13 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" | 14 #include "third_party/WebKit/public/platform/modules/webmidi/WebMIDIAccessor.h" |
| 14 #include "ui/gfx/icc_profile.h" | 15 #include "ui/gfx/icc_profile.h" |
| 15 #include "url/gurl.h" | 16 #include "url/gurl.h" |
| 16 | 17 |
| 17 namespace content { | 18 namespace content { |
| 18 | 19 |
| 19 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { | 20 SkBitmap* ContentRendererClient::GetSadPluginBitmap() { |
| 20 return nullptr; | 21 return nullptr; |
| 21 } | 22 } |
| (...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 79 } | 80 } |
| 80 | 81 |
| 81 blink::WebClipboard* ContentRendererClient::OverrideWebClipboard() { | 82 blink::WebClipboard* ContentRendererClient::OverrideWebClipboard() { |
| 82 return nullptr; | 83 return nullptr; |
| 83 } | 84 } |
| 84 | 85 |
| 85 blink::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { | 86 blink::WebThemeEngine* ContentRendererClient::OverrideThemeEngine() { |
| 86 return nullptr; | 87 return nullptr; |
| 87 } | 88 } |
| 88 | 89 |
| 90 std::unique_ptr<blink::WebSocketHandshakeThrottle> |
| 91 ContentRendererClient::CreateWebSocketHandshakeThrottle() { |
| 92 return nullptr; |
| 93 } |
| 94 |
| 89 std::unique_ptr<blink::WebSpeechSynthesizer> | 95 std::unique_ptr<blink::WebSpeechSynthesizer> |
| 90 ContentRendererClient::OverrideSpeechSynthesizer( | 96 ContentRendererClient::OverrideSpeechSynthesizer( |
| 91 blink::WebSpeechSynthesizerClient* client) { | 97 blink::WebSpeechSynthesizerClient* client) { |
| 92 return nullptr; | 98 return nullptr; |
| 93 } | 99 } |
| 94 | 100 |
| 95 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { | 101 bool ContentRendererClient::RunIdleHandlerWhenWidgetsHidden() { |
| 96 return true; | 102 return true; |
| 97 } | 103 } |
| 98 | 104 |
| (...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 std::unique_ptr<base::TaskScheduler::InitParams> | 257 std::unique_ptr<base::TaskScheduler::InitParams> |
| 252 ContentRendererClient::GetTaskSchedulerInitParams() { | 258 ContentRendererClient::GetTaskSchedulerInitParams() { |
| 253 return nullptr; | 259 return nullptr; |
| 254 } | 260 } |
| 255 | 261 |
| 256 bool ContentRendererClient::AllowMediaSuspend() { | 262 bool ContentRendererClient::AllowMediaSuspend() { |
| 257 return true; | 263 return true; |
| 258 } | 264 } |
| 259 | 265 |
| 260 } // namespace content | 266 } // namespace content |
| OLD | NEW |