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

Unified Diff: content/renderer/render_thread.h

Issue 7866019: New implementation of font precache on Windows. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merge to latest trunk 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
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_thread.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread.h
diff --git a/content/renderer/render_thread.h b/content/renderer/render_thread.h
index 9c5a471a97d16c85055d09b45d62182e1a560a30..8fb9e03c059b250281934659233ab968f7a03786 100644
--- a/content/renderer/render_thread.h
+++ b/content/renderer/render_thread.h
@@ -227,6 +227,9 @@ class CONTENT_EXPORT RenderThread : public RenderThreadBase,
// Request that the given font be loaded by the browser so it's cached by the
// OS. Please see ChildProcessHost::PreCacheFont for details.
static bool PreCacheFont(const LOGFONT& log_font);
+
+ // Release cached font.
+ static bool ReleaseCachedFonts();
#endif // OS_WIN
private:
« no previous file with comments | « content/common/view_messages.h ('k') | content/renderer/render_thread.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698