Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(118)

Side by Side Diff: content/browser/renderer_host/sandbox_ipc_linux.cc

Issue 1860753002: Remove third_party/npapi (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@remove_03_content_child_npapi
Patch Set: messed up previous upload Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/browser/renderer_host/font_utils_linux.cc ('k') | content/child/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/browser/renderer_host/font_utils_linux.cc ('k') | content/child/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698