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

Side by Side Diff: content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.cc

Issue 1642213002: Move font_warmup_win, fix webrtc dep. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/BUILD.gn ('k') | content/child/font_warmup_win.h » ('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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h" 5 #include "content/child/dwrite_font_proxy/dwrite_font_proxy_init_win.h"
6 6
7 #include <dwrite.h> 7 #include <dwrite.h>
8 8
9 #include "base/bind.h" 9 #include "base/bind.h"
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/debug/alias.h" 11 #include "base/debug/alias.h"
12 #include "base/win/iat_patch_function.h" 12 #include "base/win/iat_patch_function.h"
13 #include "base/win/windows_version.h" 13 #include "base/win/windows_version.h"
14 #include "content/child/dwrite_font_proxy/dwrite_font_proxy_win.h" 14 #include "content/child/dwrite_font_proxy/dwrite_font_proxy_win.h"
15 #include "content/common/font_warmup_win.h" 15 #include "content/child/font_warmup_win.h"
16 #include "skia/ext/fontmgr_default_win.h" 16 #include "skia/ext/fontmgr_default_win.h"
17 #include "third_party/WebKit/public/web/win/WebFontRendering.h" 17 #include "third_party/WebKit/public/web/win/WebFontRendering.h"
18 #include "third_party/skia/include/ports/SkTypeface_win.h" 18 #include "third_party/skia/include/ports/SkTypeface_win.h"
19 19
20 namespace mswr = Microsoft::WRL; 20 namespace mswr = Microsoft::WRL;
21 21
22 namespace content { 22 namespace content {
23 23
24 namespace { 24 namespace {
25 25
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 void UninitializeDWriteFontProxy() { 109 void UninitializeDWriteFontProxy() {
110 if (g_font_collection) 110 if (g_font_collection)
111 g_font_collection->Unregister(); 111 g_font_collection->Unregister();
112 } 112 }
113 113
114 void SetDWriteFontProxySenderForTesting(IPC::Sender* sender) { 114 void SetDWriteFontProxySenderForTesting(IPC::Sender* sender) {
115 g_sender_override = sender; 115 g_sender_override = sender;
116 } 116 }
117 117
118 } // namespace content 118 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/BUILD.gn ('k') | content/child/font_warmup_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698