| 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/renderer/renderer_blink_platform_impl.h" | 5 #include "content/renderer/renderer_blink_platform_impl.h" |
| 6 | 6 |
| 7 #include <utility> | 7 #include <utility> |
| 8 | 8 |
| 9 #include "base/command_line.h" | 9 #include "base/command_line.h" |
| 10 #include "base/files/file_path.h" | 10 #include "base/files/file_path.h" |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 #include "content/renderer/device_sensors/device_motion_event_pump.h" | 57 #include "content/renderer/device_sensors/device_motion_event_pump.h" |
| 58 #include "content/renderer/device_sensors/device_orientation_absolute_event_pump
.h" | 58 #include "content/renderer/device_sensors/device_orientation_absolute_event_pump
.h" |
| 59 #include "content/renderer/device_sensors/device_orientation_event_pump.h" | 59 #include "content/renderer/device_sensors/device_orientation_event_pump.h" |
| 60 #include "content/renderer/dom_storage/local_storage_cached_areas.h" | 60 #include "content/renderer/dom_storage/local_storage_cached_areas.h" |
| 61 #include "content/renderer/dom_storage/local_storage_namespace.h" | 61 #include "content/renderer/dom_storage/local_storage_namespace.h" |
| 62 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" | 62 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
| 63 #include "content/renderer/gamepad_shared_memory_reader.h" | 63 #include "content/renderer/gamepad_shared_memory_reader.h" |
| 64 #include "content/renderer/media/audio_decoder.h" | 64 #include "content/renderer/media/audio_decoder.h" |
| 65 #include "content/renderer/media/canvas_capture_handler.h" | 65 #include "content/renderer/media/canvas_capture_handler.h" |
| 66 #include "content/renderer/media/html_video_element_capturer_source.h" | 66 #include "content/renderer/media/html_video_element_capturer_source.h" |
| 67 #include "content/renderer/media/image_capture_frame_grabber.h" |
| 67 #include "content/renderer/media/media_recorder_handler.h" | 68 #include "content/renderer/media/media_recorder_handler.h" |
| 68 #include "content/renderer/media/renderer_webaudiodevice_impl.h" | 69 #include "content/renderer/media/renderer_webaudiodevice_impl.h" |
| 69 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" | 70 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" |
| 70 #include "content/renderer/media/rtc_certificate_generator.h" | 71 #include "content/renderer/media/rtc_certificate_generator.h" |
| 71 #include "content/renderer/mojo/blink_service_registry_impl.h" | 72 #include "content/renderer/mojo/blink_service_registry_impl.h" |
| 72 #include "content/renderer/render_thread_impl.h" | 73 #include "content/renderer/render_thread_impl.h" |
| 73 #include "content/renderer/renderer_clipboard_delegate.h" | 74 #include "content/renderer/renderer_clipboard_delegate.h" |
| 74 #include "content/renderer/screen_orientation/screen_orientation_observer.h" | 75 #include "content/renderer/screen_orientation/screen_orientation_observer.h" |
| 75 #include "content/renderer/webclipboard_impl.h" | 76 #include "content/renderer/webclipboard_impl.h" |
| 76 #include "content/renderer/webgraphicscontext3d_provider_impl.h" | 77 #include "content/renderer/webgraphicscontext3d_provider_impl.h" |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 using blink::Platform; | 144 using blink::Platform; |
| 144 using blink::WebAudioDevice; | 145 using blink::WebAudioDevice; |
| 145 using blink::WebBlobRegistry; | 146 using blink::WebBlobRegistry; |
| 146 using blink::WebCanvasCaptureHandler; | 147 using blink::WebCanvasCaptureHandler; |
| 147 using blink::WebDatabaseObserver; | 148 using blink::WebDatabaseObserver; |
| 148 using blink::WebFileInfo; | 149 using blink::WebFileInfo; |
| 149 using blink::WebFileSystem; | 150 using blink::WebFileSystem; |
| 150 using blink::WebGamepad; | 151 using blink::WebGamepad; |
| 151 using blink::WebGamepads; | 152 using blink::WebGamepads; |
| 152 using blink::WebIDBFactory; | 153 using blink::WebIDBFactory; |
| 154 using blink::WebImageCaptureFrameGrabber; |
| 153 using blink::WebMIDIAccessor; | 155 using blink::WebMIDIAccessor; |
| 154 using blink::WebMediaPlayer; | 156 using blink::WebMediaPlayer; |
| 155 using blink::WebMediaRecorderHandler; | 157 using blink::WebMediaRecorderHandler; |
| 156 using blink::WebMediaStream; | 158 using blink::WebMediaStream; |
| 157 using blink::WebMediaStreamCenter; | 159 using blink::WebMediaStreamCenter; |
| 158 using blink::WebMediaStreamCenterClient; | 160 using blink::WebMediaStreamCenterClient; |
| 159 using blink::WebMediaStreamTrack; | 161 using blink::WebMediaStreamTrack; |
| 160 using blink::WebMimeRegistry; | 162 using blink::WebMimeRegistry; |
| 161 using blink::WebRTCPeerConnectionHandler; | 163 using blink::WebRTCPeerConnectionHandler; |
| 162 using blink::WebRTCPeerConnectionHandlerClient; | 164 using blink::WebRTCPeerConnectionHandlerClient; |
| (...skipping 789 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 952 web_media_player, | 954 web_media_player, |
| 953 content::RenderThread::Get()->GetIOMessageLoopProxy()), | 955 content::RenderThread::Get()->GetIOMessageLoopProxy()), |
| 954 false, // is_remote | 956 false, // is_remote |
| 955 false, // is_readonly | 957 false, // is_readonly |
| 956 web_media_stream); | 958 web_media_stream); |
| 957 #endif | 959 #endif |
| 958 } | 960 } |
| 959 | 961 |
| 960 //------------------------------------------------------------------------------ | 962 //------------------------------------------------------------------------------ |
| 961 | 963 |
| 964 WebImageCaptureFrameGrabber* |
| 965 RendererBlinkPlatformImpl::createImageCaptureFrameGrabber() { |
| 966 #if defined(ENABLE_WEBRTC) |
| 967 return new ImageCaptureFrameGrabber(); |
| 968 #else |
| 969 return nullptr; |
| 970 #endif // defined(ENABLE_WEBRTC) |
| 971 } |
| 972 |
| 973 //------------------------------------------------------------------------------ |
| 974 |
| 962 blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer( | 975 blink::WebSpeechSynthesizer* RendererBlinkPlatformImpl::createSpeechSynthesizer( |
| 963 blink::WebSpeechSynthesizerClient* client) { | 976 blink::WebSpeechSynthesizerClient* client) { |
| 964 return GetContentClient()->renderer()->OverrideSpeechSynthesizer(client); | 977 return GetContentClient()->renderer()->OverrideSpeechSynthesizer(client); |
| 965 } | 978 } |
| 966 | 979 |
| 967 //------------------------------------------------------------------------------ | 980 //------------------------------------------------------------------------------ |
| 968 | 981 |
| 969 static void Collect3DContextInformationOnFailure( | 982 static void Collect3DContextInformationOnFailure( |
| 970 blink::Platform::GraphicsInfo* gl_info, | 983 blink::Platform::GraphicsInfo* gl_info, |
| 971 gpu::GpuChannelHost* host) { | 984 gpu::GpuChannelHost* host) { |
| (...skipping 318 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1290 } | 1303 } |
| 1291 | 1304 |
| 1292 //------------------------------------------------------------------------------ | 1305 //------------------------------------------------------------------------------ |
| 1293 | 1306 |
| 1294 blink::WebTrialTokenValidator* | 1307 blink::WebTrialTokenValidator* |
| 1295 RendererBlinkPlatformImpl::trialTokenValidator() { | 1308 RendererBlinkPlatformImpl::trialTokenValidator() { |
| 1296 return &trial_token_validator_; | 1309 return &trial_token_validator_; |
| 1297 } | 1310 } |
| 1298 | 1311 |
| 1299 } // namespace content | 1312 } // namespace content |
| OLD | NEW |