Chromium Code Reviews| Index: chrome/common/render_messages_internal.h |
| diff --git a/chrome/common/render_messages_internal.h b/chrome/common/render_messages_internal.h |
| index 4596986bb63ac17c0193f09255b3671ec23917a9..7d38c3aef482ad0eb695768edfbd614c6042bb6e 100755 |
| --- a/chrome/common/render_messages_internal.h |
| +++ b/chrome/common/render_messages_internal.h |
| @@ -39,6 +39,10 @@ |
| #include "base/file_descriptor_posix.h" |
| #endif |
| +#if defined(OS_MACOSX) |
| +#include "chrome/common/font_descriptor_mac.h" |
| +#endif |
| + |
| // TODO(mpcomplete): rename ViewMsg and ViewHostMsg to something that makes |
| // more sense with our current design. |
| @@ -1433,6 +1437,12 @@ IPC_BEGIN_MESSAGES(ViewHost) |
| #if defined(OS_MACOSX) |
| IPC_MESSAGE_CONTROL1(ViewHostMsg_ClipboardFindPboardWriteStringAsync, |
| string16 /* text */) |
| + |
| + // Request that the browser load a font into shared memory for us. |
| + IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_LoadFont, |
|
agl
2010/06/15 14:10:15
Am I just being dumb, or is the implementation of
jeremy
2010/06/15 14:26:55
Due to the way the WebKit and Chrome code interact
|
| + FontDescriptor /* font to load */, |
| + uint32 /* buffer size */, |
| + base::SharedMemoryHandle /* font data */) |
| #endif |
| #if defined(OS_WIN) |