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/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/file_util.h" | 9 #include "base/file_util.h" |
10 #include "base/platform_file.h" | 10 #include "base/platform_file.h" |
(...skipping 27 matching lines...) Expand all Loading... |
38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" | 38 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebGamepads.
h" |
39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 39 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" |
42 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenter.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenter.h" |
43 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenterClient.h" | 43 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebMediaStre
amCenterClient.h" |
44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConne
ctionHandler.h" | 44 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConne
ctionHandler.h" |
45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConne
ctionHandlerClient.h" | 45 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebPeerConne
ctionHandlerClient.h" |
46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" | 46 #include "third_party/WebKit/Source/WebKit/chromium/public/WebRuntimeFeatures.h" |
47 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" | 47 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebSerialize
dScriptValue.h" |
48 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" | |
49 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" | 48 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebURL.h" |
50 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | 49 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" |
51 #include "webkit/glue/simple_webmimeregistry_impl.h" | 50 #include "webkit/glue/simple_webmimeregistry_impl.h" |
52 #include "webkit/glue/webclipboard_impl.h" | 51 #include "webkit/glue/webclipboard_impl.h" |
53 #include "webkit/glue/webfileutilities_impl.h" | 52 #include "webkit/glue/webfileutilities_impl.h" |
54 #include "webkit/glue/webkit_glue.h" | 53 #include "webkit/glue/webkit_glue.h" |
55 | 54 |
56 #if defined(OS_WIN) | 55 #if defined(OS_WIN) |
57 #include "content/common/child_process_messages.h" | 56 #include "content/common/child_process_messages.h" |
58 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebSandb
oxSupport.h" | 57 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/win/WebSandb
oxSupport.h" |
(...skipping 28 matching lines...) Expand all Loading... |
87 using WebKit::WebIDBKey; | 86 using WebKit::WebIDBKey; |
88 using WebKit::WebIDBKeyPath; | 87 using WebKit::WebIDBKeyPath; |
89 using WebKit::WebKitPlatformSupport; | 88 using WebKit::WebKitPlatformSupport; |
90 using WebKit::WebMediaStreamCenter; | 89 using WebKit::WebMediaStreamCenter; |
91 using WebKit::WebMediaStreamCenterClient; | 90 using WebKit::WebMediaStreamCenterClient; |
92 using WebKit::WebPeerConnection00Handler; | 91 using WebKit::WebPeerConnection00Handler; |
93 using WebKit::WebPeerConnection00HandlerClient; | 92 using WebKit::WebPeerConnection00HandlerClient; |
94 using WebKit::WebPeerConnectionHandler; | 93 using WebKit::WebPeerConnectionHandler; |
95 using WebKit::WebPeerConnectionHandlerClient; | 94 using WebKit::WebPeerConnectionHandlerClient; |
96 using WebKit::WebSerializedScriptValue; | 95 using WebKit::WebSerializedScriptValue; |
97 using WebKit::WebStorageArea; | |
98 using WebKit::WebStorageEventDispatcher; | |
99 using WebKit::WebStorageNamespace; | 96 using WebKit::WebStorageNamespace; |
100 using WebKit::WebString; | 97 using WebKit::WebString; |
101 using WebKit::WebURL; | 98 using WebKit::WebURL; |
102 using WebKit::WebVector; | 99 using WebKit::WebVector; |
103 | 100 |
104 //------------------------------------------------------------------------------ | 101 //------------------------------------------------------------------------------ |
105 | 102 |
106 class RendererWebKitPlatformSupportImpl::MimeRegistry | 103 class RendererWebKitPlatformSupportImpl::MimeRegistry |
107 : public webkit_glue::SimpleWebMimeRegistryImpl { | 104 : public webkit_glue::SimpleWebMimeRegistryImpl { |
108 public: | 105 public: |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
728 DCHECK(render_thread); | 725 DCHECK(render_thread); |
729 if (!render_thread) | 726 if (!render_thread) |
730 return NULL; | 727 return NULL; |
731 return render_thread->CreateMediaStreamCenter(client); | 728 return render_thread->CreateMediaStreamCenter(client); |
732 } | 729 } |
733 | 730 |
734 GpuChannelHostFactory* | 731 GpuChannelHostFactory* |
735 RendererWebKitPlatformSupportImpl::GetGpuChannelHostFactory() { | 732 RendererWebKitPlatformSupportImpl::GetGpuChannelHostFactory() { |
736 return RenderThreadImpl::current(); | 733 return RenderThreadImpl::current(); |
737 } | 734 } |
OLD | NEW |