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_webkitplatformsupport_impl.h" | 5 #include "content/renderer/renderer_webkitplatformsupport_impl.h" |
6 | 6 |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/files/file_path.h" | 8 #include "base/files/file_path.h" |
9 #include "base/lazy_instance.h" | 9 #include "base/lazy_instance.h" |
10 #include "base/logging.h" | 10 #include "base/logging.h" |
(...skipping 30 matching lines...) Expand all Loading... |
41 #include "content/renderer/device_sensors/device_light_event_pump.h" | 41 #include "content/renderer/device_sensors/device_light_event_pump.h" |
42 #include "content/renderer/device_sensors/device_motion_event_pump.h" | 42 #include "content/renderer/device_sensors/device_motion_event_pump.h" |
43 #include "content/renderer/device_sensors/device_orientation_event_pump.h" | 43 #include "content/renderer/device_sensors/device_orientation_event_pump.h" |
44 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" | 44 #include "content/renderer/dom_storage/webstoragenamespace_impl.h" |
45 #include "content/renderer/gamepad_shared_memory_reader.h" | 45 #include "content/renderer/gamepad_shared_memory_reader.h" |
46 #include "content/renderer/media/audio_decoder.h" | 46 #include "content/renderer/media/audio_decoder.h" |
47 #include "content/renderer/media/crypto/key_systems.h" | 47 #include "content/renderer/media/crypto/key_systems.h" |
48 #include "content/renderer/media/renderer_webaudiodevice_impl.h" | 48 #include "content/renderer/media/renderer_webaudiodevice_impl.h" |
49 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" | 49 #include "content/renderer/media/renderer_webmidiaccessor_impl.h" |
50 #include "content/renderer/media/webcontentdecryptionmodule_impl.h" | 50 #include "content/renderer/media/webcontentdecryptionmodule_impl.h" |
51 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" | |
52 #include "content/renderer/render_thread_impl.h" | 51 #include "content/renderer/render_thread_impl.h" |
53 #include "content/renderer/renderer_clipboard_client.h" | 52 #include "content/renderer/renderer_clipboard_client.h" |
54 #include "content/renderer/screen_orientation/screen_orientation_observer.h" | 53 #include "content/renderer/screen_orientation/screen_orientation_observer.h" |
55 #include "content/renderer/webclipboard_impl.h" | 54 #include "content/renderer/webclipboard_impl.h" |
56 #include "content/renderer/webgraphicscontext3d_provider_impl.h" | 55 #include "content/renderer/webgraphicscontext3d_provider_impl.h" |
57 #include "content/renderer/webpublicsuffixlist_impl.h" | 56 #include "content/renderer/webpublicsuffixlist_impl.h" |
58 #include "gpu/config/gpu_info.h" | 57 #include "gpu/config/gpu_info.h" |
59 #include "ipc/ipc_sync_message_filter.h" | 58 #include "ipc/ipc_sync_message_filter.h" |
60 #include "media/audio/audio_output_device.h" | 59 #include "media/audio/audio_output_device.h" |
61 #include "media/base/audio_hardware_config.h" | 60 #include "media/base/audio_hardware_config.h" |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 #include "third_party/WebKit/public/platform/win/WebSandboxSupport.h" | 109 #include "third_party/WebKit/public/platform/win/WebSandboxSupport.h" |
111 #endif | 110 #endif |
112 | 111 |
113 #if defined(USE_AURA) | 112 #if defined(USE_AURA) |
114 #include "content/renderer/webscrollbarbehavior_impl_gtkoraura.h" | 113 #include "content/renderer/webscrollbarbehavior_impl_gtkoraura.h" |
115 #elif !defined(OS_MACOSX) | 114 #elif !defined(OS_MACOSX) |
116 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" | 115 #include "third_party/WebKit/public/platform/WebScrollbarBehavior.h" |
117 #define WebScrollbarBehaviorImpl blink::WebScrollbarBehavior | 116 #define WebScrollbarBehaviorImpl blink::WebScrollbarBehavior |
118 #endif | 117 #endif |
119 | 118 |
| 119 #if defined(ENABLE_WEBRTC) |
| 120 #include "content/renderer/media/webrtc/peer_connection_dependency_factory.h" |
| 121 #endif |
| 122 |
120 using blink::Platform; | 123 using blink::Platform; |
121 using blink::WebAudioDevice; | 124 using blink::WebAudioDevice; |
122 using blink::WebBlobRegistry; | 125 using blink::WebBlobRegistry; |
123 using blink::WebDatabaseObserver; | 126 using blink::WebDatabaseObserver; |
124 using blink::WebFileInfo; | 127 using blink::WebFileInfo; |
125 using blink::WebFileSystem; | 128 using blink::WebFileSystem; |
126 using blink::WebGamepad; | 129 using blink::WebGamepad; |
127 using blink::WebGamepads; | 130 using blink::WebGamepads; |
128 using blink::WebIDBFactory; | 131 using blink::WebIDBFactory; |
129 using blink::WebMIDIAccessor; | 132 using blink::WebMIDIAccessor; |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1187 void RendererWebKitPlatformSupportImpl::MockBatteryStatusChangedForTesting( | 1190 void RendererWebKitPlatformSupportImpl::MockBatteryStatusChangedForTesting( |
1188 const blink::WebBatteryStatus& status) { | 1191 const blink::WebBatteryStatus& status) { |
1189 PlatformEventObserverBase* observer = | 1192 PlatformEventObserverBase* observer = |
1190 platform_event_observers_.Lookup(blink::WebPlatformEventBattery); | 1193 platform_event_observers_.Lookup(blink::WebPlatformEventBattery); |
1191 if (!observer) | 1194 if (!observer) |
1192 return; | 1195 return; |
1193 observer->SendFakeDataForTesting((void*)&status); | 1196 observer->SendFakeDataForTesting((void*)&status); |
1194 } | 1197 } |
1195 | 1198 |
1196 } // namespace content | 1199 } // namespace content |
OLD | NEW |