| OLD | NEW |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 "chrome/renderer/renderer_webkitclient_impl.h" | 5 #include "content/renderer/renderer_webkitclient_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/platform_file.h" | 9 #include "base/platform_file.h" |
| 10 #include "base/shared_memory.h" | 10 #include "base/shared_memory.h" |
| 11 #include "base/utf_string_conversions.h" | 11 #include "base/utf_string_conversions.h" |
| 12 #include "chrome/common/chrome_switches.h" | 12 #include "chrome/common/chrome_switches.h" |
| 13 #include "chrome/common/render_messages.h" | 13 #include "chrome/common/render_messages.h" |
| 14 #include "chrome/renderer/net/renderer_net_predictor.h" | 14 #include "chrome/renderer/net/renderer_net_predictor.h" |
| 15 #include "chrome/renderer/render_thread.h" | 15 #include "chrome/renderer/render_thread.h" |
| 16 #include "chrome/renderer/render_view.h" | 16 #include "chrome/renderer/render_view.h" |
| 17 #include "chrome/renderer/renderer_webaudiodevice_impl.h" | |
| 18 #include "chrome/renderer/renderer_webidbfactory_impl.h" | |
| 19 #include "chrome/renderer/renderer_webstoragenamespace_impl.h" | |
| 20 #include "chrome/renderer/visitedlink_slave.h" | 17 #include "chrome/renderer/visitedlink_slave.h" |
| 21 #include "content/common/database_util.h" | 18 #include "content/common/database_util.h" |
| 22 #include "content/common/file_system/webfilesystem_impl.h" | 19 #include "content/common/file_system/webfilesystem_impl.h" |
| 23 #include "content/common/file_utilities_messages.h" | 20 #include "content/common/file_utilities_messages.h" |
| 24 #include "content/common/mime_registry_messages.h" | 21 #include "content/common/mime_registry_messages.h" |
| 25 #include "content/common/webblobregistry_impl.h" | 22 #include "content/common/webblobregistry_impl.h" |
| 26 #include "content/common/webmessageportchannel_impl.h" | 23 #include "content/common/webmessageportchannel_impl.h" |
| 27 #include "content/plugin/npobject_util.h" | 24 #include "content/plugin/npobject_util.h" |
| 25 #include "content/renderer/renderer_webaudiodevice_impl.h" |
| 26 #include "content/renderer/renderer_webidbfactory_impl.h" |
| 27 #include "content/renderer/renderer_webstoragenamespace_impl.h" |
| 28 #include "content/renderer/webgraphicscontext3d_command_buffer_impl.h" | 28 #include "content/renderer/webgraphicscontext3d_command_buffer_impl.h" |
| 29 #include "content/renderer/websharedworkerrepository_impl.h" | 29 #include "content/renderer/websharedworkerrepository_impl.h" |
| 30 #include "googleurl/src/gurl.h" | 30 #include "googleurl/src/gurl.h" |
| 31 #include "ipc/ipc_sync_message_filter.h" | 31 #include "ipc/ipc_sync_message_filter.h" |
| 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlobRegistry.h" | 32 #include "third_party/WebKit/Source/WebKit/chromium/public/WebBlobRegistry.h" |
| 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" | 33 #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h" |
| 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D.
h" | 34 #include "third_party/WebKit/Source/WebKit/chromium/public/WebGraphicsContext3D.
h" |
| 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" | 35 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBFactory.h" |
| 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" | 36 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKey.h" |
| 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" | 37 #include "third_party/WebKit/Source/WebKit/chromium/public/WebIDBKeyPath.h" |
| (...skipping 15 matching lines...) Expand all Loading... |
| 53 #include "content/common/font_descriptor_mac.h" | 53 #include "content/common/font_descriptor_mac.h" |
| 54 #include "content/common/font_loader_mac.h" | 54 #include "content/common/font_loader_mac.h" |
| 55 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebSandboxSupport
.h" | 55 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebSandboxSupport
.h" |
| 56 #endif | 56 #endif |
| 57 | 57 |
| 58 #if defined(OS_LINUX) | 58 #if defined(OS_LINUX) |
| 59 #include <string> | 59 #include <string> |
| 60 #include <map> | 60 #include <map> |
| 61 | 61 |
| 62 #include "base/synchronization/lock.h" | 62 #include "base/synchronization/lock.h" |
| 63 #include "chrome/renderer/renderer_sandbox_support_linux.h" | 63 #include "content/renderer/renderer_sandbox_support_linux.h" |
| 64 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebSandboxSuppo
rt.h" | 64 #include "third_party/WebKit/Source/WebKit/chromium/public/linux/WebSandboxSuppo
rt.h" |
| 65 #endif | 65 #endif |
| 66 | 66 |
| 67 #if defined(OS_POSIX) | 67 #if defined(OS_POSIX) |
| 68 #include "base/file_descriptor_posix.h" | 68 #include "base/file_descriptor_posix.h" |
| 69 #endif | 69 #endif |
| 70 | 70 |
| 71 using WebKit::WebAudioDevice; | 71 using WebKit::WebAudioDevice; |
| 72 using WebKit::WebBlobRegistry; | 72 using WebKit::WebBlobRegistry; |
| 73 using WebKit::WebFileSystem; | 73 using WebKit::WebFileSystem; |
| (...skipping 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 562 return WebString::fromUTF8(signed_public_key); | 562 return WebString::fromUTF8(signed_public_key); |
| 563 } | 563 } |
| 564 | 564 |
| 565 //------------------------------------------------------------------------------ | 565 //------------------------------------------------------------------------------ |
| 566 | 566 |
| 567 WebBlobRegistry* RendererWebKitClientImpl::blobRegistry() { | 567 WebBlobRegistry* RendererWebKitClientImpl::blobRegistry() { |
| 568 if (!blob_registry_.get()) | 568 if (!blob_registry_.get()) |
| 569 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); | 569 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); |
| 570 return blob_registry_.get(); | 570 return blob_registry_.get(); |
| 571 } | 571 } |
| OLD | NEW |