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

Unified Diff: content/public/utility/utility_thread.h

Issue 8351028: Make chrome/utility not depend on content/common. Enforce with DEPS. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 2 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
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « chrome/utility/chrome_content_utility_client.cc ('k') | content/utility/utility_thread_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698