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/metrics/histogram.h" | 10 #include "base/metrics/histogram.h" |
(...skipping 20 matching lines...) Expand all Loading... |
31 #include "content/renderer/media/media_stream_dependency_factory.h" | 31 #include "content/renderer/media/media_stream_dependency_factory.h" |
32 #include "content/renderer/media/renderer_webaudiodevice_impl.h" | 32 #include "content/renderer/media/renderer_webaudiodevice_impl.h" |
33 #include "content/renderer/render_thread_impl.h" | 33 #include "content/renderer/render_thread_impl.h" |
34 #include "content/renderer/renderer_clipboard_client.h" | 34 #include "content/renderer/renderer_clipboard_client.h" |
35 #include "content/renderer/websharedworkerrepository_impl.h" | 35 #include "content/renderer/websharedworkerrepository_impl.h" |
36 #include "googleurl/src/gurl.h" | 36 #include "googleurl/src/gurl.h" |
37 #include "gpu/config/gpu_info.h" | 37 #include "gpu/config/gpu_info.h" |
38 #include "ipc/ipc_sync_message_filter.h" | 38 #include "ipc/ipc_sync_message_filter.h" |
39 #include "media/audio/audio_output_device.h" | 39 #include "media/audio/audio_output_device.h" |
40 #include "media/base/audio_hardware_config.h" | 40 #include "media/base/audio_hardware_config.h" |
41 #include "third_party/WebKit/Source/Platform/chromium/public/WebBlobRegistry.h" | 41 #include "third_party/WebKit/public/platform/WebBlobRegistry.h" |
42 #include "third_party/WebKit/Source/Platform/chromium/public/WebFileInfo.h" | 42 #include "third_party/WebKit/public/platform/WebFileInfo.h" |
43 #include "third_party/WebKit/Source/Platform/chromium/public/WebGamepads.h" | 43 #include "third_party/WebKit/public/platform/WebGamepads.h" |
44 #include "third_party/WebKit/Source/Platform/chromium/public/WebHyphenator.h" | 44 #include "third_party/WebKit/public/platform/WebHyphenator.h" |
45 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStreamCente
r.h" | 45 #include "third_party/WebKit/public/platform/WebMediaStreamCenter.h" |
46 #include "third_party/WebKit/Source/Platform/chromium/public/WebMediaStreamCente
rClient.h" | 46 #include "third_party/WebKit/public/platform/WebMediaStreamCenterClient.h" |
47 #include "third_party/WebKit/Source/Platform/chromium/public/WebURL.h" | 47 #include "third_party/WebKit/public/platform/WebURL.h" |
48 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" | 48 #include "third_party/WebKit/public/platform/WebVector.h" |
49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 49 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 50 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
51 #include "webkit/base/file_path_string_conversions.h" | 51 #include "webkit/base/file_path_string_conversions.h" |
52 #include "webkit/common/gpu/webgraphicscontext3d_provider_impl.h" | 52 #include "webkit/common/gpu/webgraphicscontext3d_provider_impl.h" |
53 #include "webkit/glue/simple_webmimeregistry_impl.h" | 53 #include "webkit/glue/simple_webmimeregistry_impl.h" |
54 #include "webkit/glue/webclipboard_impl.h" | 54 #include "webkit/glue/webclipboard_impl.h" |
55 #include "webkit/glue/webfileutilities_impl.h" | 55 #include "webkit/glue/webfileutilities_impl.h" |
56 #include "webkit/glue/webkit_glue.h" | 56 #include "webkit/glue/webkit_glue.h" |
57 | 57 |
58 #if defined(OS_WIN) | 58 #if defined(OS_WIN) |
59 #include "content/common/child_process_messages.h" | 59 #include "content/common/child_process_messages.h" |
60 #include "third_party/WebKit/Source/Platform/chromium/public/win/WebSandboxSuppo
rt.h" | 60 #include "third_party/WebKit/public/platform/win/WebSandboxSupport.h" |
61 #endif | 61 #endif |
62 | 62 |
63 #if defined(OS_MACOSX) | 63 #if defined(OS_MACOSX) |
64 #include "content/common/mac/font_descriptor.h" | 64 #include "content/common/mac/font_descriptor.h" |
65 #include "content/common/mac/font_loader.h" | 65 #include "content/common/mac/font_loader.h" |
66 #include "third_party/WebKit/Source/Platform/chromium/public/mac/WebSandboxSuppo
rt.h" | 66 #include "third_party/WebKit/public/platform/mac/WebSandboxSupport.h" |
67 #endif | 67 #endif |
68 | 68 |
69 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) | 69 #if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_ANDROID) |
70 #include <map> | 70 #include <map> |
71 #include <string> | 71 #include <string> |
72 | 72 |
73 #include "base/synchronization/lock.h" | 73 #include "base/synchronization/lock.h" |
74 #include "content/common/child_process_sandbox_support_impl_linux.h" | 74 #include "content/common/child_process_sandbox_support_impl_linux.h" |
75 #include "third_party/WebKit/Source/Platform/chromium/public/linux/WebFontFamily
.h" | 75 #include "third_party/WebKit/public/platform/linux/WebFontFamily.h" |
76 #include "third_party/WebKit/Source/Platform/chromium/public/linux/WebSandboxSup
port.h" | 76 #include "third_party/WebKit/public/platform/linux/WebSandboxSupport.h" |
77 #endif | 77 #endif |
78 | 78 |
79 #if defined(OS_POSIX) | 79 #if defined(OS_POSIX) |
80 #include "base/file_descriptor_posix.h" | 80 #include "base/file_descriptor_posix.h" |
81 #endif | 81 #endif |
82 | 82 |
83 using WebKit::WebAudioDevice; | 83 using WebKit::WebAudioDevice; |
84 using WebKit::WebBlobRegistry; | 84 using WebKit::WebBlobRegistry; |
85 using WebKit::WebFileInfo; | 85 using WebKit::WebFileInfo; |
86 using WebKit::WebFileSystem; | 86 using WebKit::WebFileSystem; |
(...skipping 814 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
901 } | 901 } |
902 | 902 |
903 //------------------------------------------------------------------------------ | 903 //------------------------------------------------------------------------------ |
904 | 904 |
905 WebKit::WebCompositorSupport* | 905 WebKit::WebCompositorSupport* |
906 RendererWebKitPlatformSupportImpl::compositorSupport() { | 906 RendererWebKitPlatformSupportImpl::compositorSupport() { |
907 return &compositor_support_; | 907 return &compositor_support_; |
908 } | 908 } |
909 | 909 |
910 } // namespace content | 910 } // namespace content |
OLD | NEW |