| Index: content/public/utility/utility_thread.h
|
| ===================================================================
|
| --- content/public/utility/utility_thread.h (revision 107064)
|
| +++ content/public/utility/utility_thread.h (working copy)
|
| @@ -10,6 +10,10 @@
|
| #include "content/common/content_export.h"
|
| #include "ipc/ipc_message.h"
|
|
|
| +#if defined(OS_WIN)
|
| +#include <windows.h>
|
| +#endif
|
| +
|
| namespace content {
|
|
|
| class CONTENT_EXPORT UtilityThread : public IPC::Message::Sender {
|
| @@ -23,6 +27,15 @@
|
|
|
| // Releases the process if we are not (or no longer) in batch mode.
|
| virtual void ReleaseProcessIfNeeded() = 0;
|
| +
|
| +#if defined(OS_WIN)
|
| + // Request that the given font be loaded by the browser so it's cached by the
|
| + // OS. Please see ChildProcessHost::PreCacheFont for details.
|
| + virtual void PreCacheFont(const LOGFONT& log_font) = 0;
|
| +
|
| + // Release cached font.
|
| + virtual void ReleaseCachedFonts() = 0;
|
| +#endif
|
| };
|
|
|
| } // namespace content
|
|
|