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_PUBLIC_RENDERER_RENDER_FONT_WARMUP_WIN_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_FONT_WARMUP_WIN_H_
8 #include "content/common/content_export.h"
15 // Make necessary calls to cache the data for a given font, used before
17 CONTENT_EXPORT
void DoPreSandboxWarmupForTypeface(SkTypeface
* typeface
);
19 // Get the shared font manager used during pre-sandbox warmup for DirectWrite
21 CONTENT_EXPORT SkFontMgr
* GetPreSandboxWarmupFontMgr();
23 } // namespace content
25 #endif // CONTENT_PUBLIC_RENDERER_RENDER_FONT_WARMUP_WIN_H_