Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5921)

Unified Diff: chrome/common/render_messages_internal.h

Issue 2804001: Mac: More pluming for OOP font loading (Closed)
Patch Set: Fix review comments Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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)

Powered by Google App Engine
This is Rietveld 408576698