Chromium Code Reviews| Index: content/common/child_process_messages.h |
| diff --git a/content/common/child_process_messages.h b/content/common/child_process_messages.h |
| index a503423d96f61cb245471b6d6842d8e175cdf606..1135650ba66440e6b71548c03b12a79a038e0dcf 100644 |
| --- a/content/common/child_process_messages.h |
| +++ b/content/common/child_process_messages.h |
| @@ -59,3 +59,16 @@ IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceDataCollected, |
| // Reply to ChildProcessMsg_GetTraceBufferPercentFull. |
| IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TraceBufferPercentFullReply, |
| float /*trace buffer percent full*/) |
| + |
| +#if defined(OS_WIN) |
| +// Request that the given font be loaded by the host so it's cached by the |
| +// OS. Please see ChildProcessHost::PreCacheFont for details. |
| +IPC_SYNC_MESSAGE_CONTROL1_0(ChromeUtilityHostMsg_PreCacheFont, |
|
jam
2011/09/19 16:31:17
messages in this file start with ChildProcessMsg o
arthurhsu
2011/09/19 18:22:51
Done.
|
| + LOGFONT /* font data */) |
| +IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont, |
| + LOGFONT /* font data */) |
| + |
| +// Release the cached font |
| +IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_ReleaseCachedFonts) |
| +IPC_MESSAGE_CONTROL0(ViewHostMsg_ReleaseCachedFonts) |
| +#endif // defined(OS_WIN) |