Roll src/third_party/WebKit eac3800:0237a66 (svn 202606:202607)
[chromium-blink-merge.git] / content / common / font_warmup_win.h
blob162fec5fb6b4efd80e8bc812bfdd196f19ecb467
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
3 // found in the LICENSE file.
5 #ifndef CONTENT_COMMON_FONT_WARMUP_WIN_H_
6 #define CONTENT_COMMON_FONT_WARMUP_WIN_H_
8 #include "content/common/content_export.h"
10 class SkFontMgr;
11 class SkTypeface;
13 namespace content {
15 // Make necessary calls to cache the data for a given font, used before
16 // sandbox lockdown.
17 CONTENT_EXPORT void DoPreSandboxWarmupForTypeface(SkTypeface* typeface);
19 // Get the shared font manager used during pre-sandbox warmup for DirectWrite
20 // fonts.
21 CONTENT_EXPORT SkFontMgr* GetPreSandboxWarmupFontMgr();
23 } // namespace content
25 #endif // CONTENT_COMMON_FONT_WARMUP_WIN_H_