OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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/browser/renderer_host/sandbox_ipc_linux.h" | 5 #include "content/browser/renderer_host/sandbox_ipc_linux.h" |
6 | 6 |
7 #include <fcntl.h> | 7 #include <fcntl.h> |
8 #include <stddef.h> | 8 #include <stddef.h> |
9 #include <stdint.h> | 9 #include <stdint.h> |
10 #include <string.h> | 10 #include <string.h> |
(...skipping 11 matching lines...) Expand all Loading... |
22 #include "base/process/launch.h" | 22 #include "base/process/launch.h" |
23 #include "base/strings/string_number_conversions.h" | 23 #include "base/strings/string_number_conversions.h" |
24 #include "content/browser/renderer_host/font_utils_linux.h" | 24 #include "content/browser/renderer_host/font_utils_linux.h" |
25 #include "content/common/font_config_ipc_linux.h" | 25 #include "content/common/font_config_ipc_linux.h" |
26 #include "content/common/sandbox_linux/sandbox_linux.h" | 26 #include "content/common/sandbox_linux/sandbox_linux.h" |
27 #include "content/common/set_process_title.h" | 27 #include "content/common/set_process_title.h" |
28 #include "content/public/common/content_switches.h" | 28 #include "content/public/common/content_switches.h" |
29 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" | 29 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" |
30 #include "third_party/WebKit/public/platform/linux/WebFontInfo.h" | 30 #include "third_party/WebKit/public/platform/linux/WebFontInfo.h" |
31 #include "third_party/WebKit/public/web/WebKit.h" | 31 #include "third_party/WebKit/public/web/WebKit.h" |
32 #include "third_party/npapi/bindings/npapi_extensions.h" | |
33 #include "third_party/skia/include/ports/SkFontConfigInterface.h" | 32 #include "third_party/skia/include/ports/SkFontConfigInterface.h" |
34 #include "ui/gfx/font.h" | 33 #include "ui/gfx/font.h" |
35 #include "ui/gfx/font_render_params.h" | 34 #include "ui/gfx/font_render_params.h" |
36 | 35 |
37 using blink::WebFontInfo; | 36 using blink::WebFontInfo; |
38 using blink::WebUChar; | 37 using blink::WebUChar; |
39 using blink::WebUChar32; | 38 using blink::WebUChar32; |
40 | 39 |
41 namespace content { | 40 namespace content { |
42 | 41 |
(...skipping 400 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
443 } | 442 } |
444 | 443 |
445 void SandboxIPCHandler::EnsureWebKitInitialized() { | 444 void SandboxIPCHandler::EnsureWebKitInitialized() { |
446 if (blink_platform_impl_) | 445 if (blink_platform_impl_) |
447 return; | 446 return; |
448 blink_platform_impl_.reset(new BlinkPlatformImpl); | 447 blink_platform_impl_.reset(new BlinkPlatformImpl); |
449 blink::Platform::initialize(blink_platform_impl_.get()); | 448 blink::Platform::initialize(blink_platform_impl_.get()); |
450 } | 449 } |
451 | 450 |
452 } // namespace content | 451 } // namespace content |
OLD | NEW |