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 <sys/poll.h> | 8 #include <sys/poll.h> |
9 #include <sys/socket.h> | 9 #include <sys/socket.h> |
10 #include <sys/stat.h> | 10 #include <sys/stat.h> |
(...skipping 10 matching lines...) Expand all Loading... |
21 #include "content/browser/renderer_host/font_utils_linux.h" | 21 #include "content/browser/renderer_host/font_utils_linux.h" |
22 #include "content/common/font_config_ipc_linux.h" | 22 #include "content/common/font_config_ipc_linux.h" |
23 #include "content/common/sandbox_linux/sandbox_linux.h" | 23 #include "content/common/sandbox_linux/sandbox_linux.h" |
24 #include "content/common/set_process_title.h" | 24 #include "content/common/set_process_title.h" |
25 #include "content/public/common/content_switches.h" | 25 #include "content/public/common/content_switches.h" |
26 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" | 26 #include "ppapi/c/trusted/ppb_browser_font_trusted.h" |
27 #include "third_party/WebKit/public/platform/linux/WebFontInfo.h" | 27 #include "third_party/WebKit/public/platform/linux/WebFontInfo.h" |
28 #include "third_party/WebKit/public/web/WebKit.h" | 28 #include "third_party/WebKit/public/web/WebKit.h" |
29 #include "third_party/npapi/bindings/npapi_extensions.h" | 29 #include "third_party/npapi/bindings/npapi_extensions.h" |
30 #include "third_party/skia/include/ports/SkFontConfigInterface.h" | 30 #include "third_party/skia/include/ports/SkFontConfigInterface.h" |
31 #include "ui/gfx/font_render_params_linux.h" | 31 #include "ui/gfx/font_render_params.h" |
32 | 32 |
33 using blink::WebCString; | 33 using blink::WebCString; |
34 using blink::WebFontInfo; | 34 using blink::WebFontInfo; |
35 using blink::WebUChar; | 35 using blink::WebUChar; |
36 using blink::WebUChar32; | 36 using blink::WebUChar32; |
37 | 37 |
38 namespace content { | 38 namespace content { |
39 | 39 |
40 SandboxIPCHandler::SandboxIPCHandler(int lifeline_fd, int browser_socket) | 40 SandboxIPCHandler::SandboxIPCHandler(int lifeline_fd, int browser_socket) |
41 : lifeline_fd_(lifeline_fd), browser_socket_(browser_socket) { | 41 : lifeline_fd_(lifeline_fd), browser_socket_(browser_socket) { |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
410 } | 410 } |
411 | 411 |
412 void SandboxIPCHandler::EnsureWebKitInitialized() { | 412 void SandboxIPCHandler::EnsureWebKitInitialized() { |
413 if (webkit_platform_support_) | 413 if (webkit_platform_support_) |
414 return; | 414 return; |
415 webkit_platform_support_.reset(new BlinkPlatformImpl); | 415 webkit_platform_support_.reset(new BlinkPlatformImpl); |
416 blink::initializeWithoutV8(webkit_platform_support_.get()); | 416 blink::initializeWithoutV8(webkit_platform_support_.get()); |
417 } | 417 } |
418 | 418 |
419 } // namespace content | 419 } // namespace content |
OLD | NEW |