Update {virtual,override,final} to follow C++11 style.
[chromium-blink-merge.git] / content / public / renderer / render_font_warmup_win.h
blob9624d88b6c6b98059af83f7eacbe73f0d986b39f
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"
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_PUBLIC_RENDERER_RENDER_FONT_WARMUP_WIN_H_