| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 29 matching lines...) Expand all Loading... |
| 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" | 40 #include "third_party/WebKit/Source/WebKit/chromium/public/WebStorageEventDispat
cher.h" |
| 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" | 41 #include "third_party/WebKit/Source/WebKit/chromium/public/WebURL.h" |
| 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" | 42 #include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h" |
| 43 #include "webkit/glue/simple_webmimeregistry_impl.h" | 43 #include "webkit/glue/simple_webmimeregistry_impl.h" |
| 44 #include "webkit/glue/webclipboard_impl.h" | 44 #include "webkit/glue/webclipboard_impl.h" |
| 45 #include "webkit/glue/webfileutilities_impl.h" | 45 #include "webkit/glue/webfileutilities_impl.h" |
| 46 #include "webkit/glue/webkit_glue.h" | 46 #include "webkit/glue/webkit_glue.h" |
| 47 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" | 47 #include "webkit/gpu/webgraphicscontext3d_in_process_impl.h" |
| 48 | 48 |
| 49 #if defined(OS_WIN) | 49 #if defined(OS_WIN) |
| 50 #include "content/common/child_process_messages.h" |
| 50 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebSandboxSupport
.h" | 51 #include "third_party/WebKit/Source/WebKit/chromium/public/win/WebSandboxSupport
.h" |
| 51 #endif | 52 #endif |
| 52 | 53 |
| 53 #if defined(OS_MACOSX) | 54 #if defined(OS_MACOSX) |
| 54 #include "content/common/mac/font_descriptor.h" | 55 #include "content/common/mac/font_descriptor.h" |
| 55 #include "content/common/mac/font_loader.h" | 56 #include "content/common/mac/font_loader.h" |
| 56 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebSandboxSupport
.h" | 57 #include "third_party/WebKit/Source/WebKit/chromium/public/mac/WebSandboxSupport
.h" |
| 57 #endif | 58 #endif |
| 58 | 59 |
| 59 #if defined(OS_POSIX) && !defined(OS_MACOSX) | 60 #if defined(OS_POSIX) && !defined(OS_MACOSX) |
| (...skipping 540 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 600 } | 601 } |
| 601 | 602 |
| 602 //------------------------------------------------------------------------------ | 603 //------------------------------------------------------------------------------ |
| 603 | 604 |
| 604 WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() { | 605 WebBlobRegistry* RendererWebKitPlatformSupportImpl::blobRegistry() { |
| 605 // RenderThread::current can be NULL when running some tests. | 606 // RenderThread::current can be NULL when running some tests. |
| 606 if (!blob_registry_.get() && RenderThread::current()) | 607 if (!blob_registry_.get() && RenderThread::current()) |
| 607 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); | 608 blob_registry_.reset(new WebBlobRegistryImpl(RenderThread::current())); |
| 608 return blob_registry_.get(); | 609 return blob_registry_.get(); |
| 609 } | 610 } |
| OLD | NEW |