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

Unified Diff: content/public/renderer/render_thread.h

Issue 11363008: Fix for 128506: Random Chinese/Japanese characters are missing in documents printed via the syst... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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
Index: content/public/renderer/render_thread.h
===================================================================
--- content/public/renderer/render_thread.h (revision 158204)
+++ content/public/renderer/render_thread.h (working copy)
@@ -5,6 +5,8 @@
#ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
#define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
+#include <string>
+
#include "base/basictypes.h"
#include "base/shared_memory.h"
#include "content/common/content_export.h"
@@ -109,7 +111,11 @@
// 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;
-
+ // Request that the given font characters be loaded by the browser so it's
+ // cached by the OS. Please see ChildProcessHost::PreCacheFontCharacters
+ // for details.
+ virtual void PreCacheFontCharacters(const LOGFONT& log_font,
+ const std::wstring& str) =0;
// Release cached font.
virtual void ReleaseCachedFonts() = 0;
#endif

Powered by Google App Engine
This is Rietveld 408576698