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

Unified Diff: content/common/view_messages.h

Issue 7866019: New implementation of font precache on Windows. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 3 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: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 9a281f5455aeea1a951c16eeceafc60c215e948b..fb52b2f85b8fc224424d59f3e920bd2a38147653 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1784,8 +1784,11 @@ IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_LoadFont,
#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.
-IPC_SYNC_MESSAGE_CONTROL1_0(ViewHostMsg_PreCacheFont,
- LOGFONT /* font data */)
+IPC_SYNC_MESSAGE_CONTROL2_0(ViewHostMsg_PreCacheFont,
+ LOGFONT /* font data */,
+ int /* pid */)
+IPC_MESSAGE_CONTROL1(ViewHostMsg_ReleaseCachedFont,
+ int /* pid */)
#endif // defined(OS_WIN)
// Returns WebScreenInfo corresponding to the view.

Powered by Google App Engine
This is Rietveld 408576698