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

Side by Side Diff: content/public/utility/utility_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, 1 month 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_
6 #define CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ 6 #define CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "content/common/content_export.h" 9 #include "content/common/content_export.h"
10 #include "ipc/ipc_sender.h" 10 #include "ipc/ipc_sender.h"
(...skipping 13 matching lines...) Expand all
24 UtilityThread(); 24 UtilityThread();
25 virtual ~UtilityThread(); 25 virtual ~UtilityThread();
26 26
27 // Releases the process if we are not (or no longer) in batch mode. 27 // Releases the process if we are not (or no longer) in batch mode.
28 virtual void ReleaseProcessIfNeeded() = 0; 28 virtual void ReleaseProcessIfNeeded() = 0;
29 29
30 #if defined(OS_WIN) 30 #if defined(OS_WIN)
31 // Request that the given font be loaded by the browser so it's cached by the 31 // Request that the given font be loaded by the browser so it's cached by the
32 // OS. Please see ChildProcessHost::PreCacheFont for details. 32 // OS. Please see ChildProcessHost::PreCacheFont for details.
33 virtual void PreCacheFont(const LOGFONT& log_font) = 0; 33 virtual void PreCacheFont(const LOGFONT& log_font) = 0;
34 virtual void PreCacheFontCharacters(const LOGFONT& log_font,
35 const std::wstring& str) = 0;
34 36
35 // Release cached font. 37 // Release cached font.
36 virtual void ReleaseCachedFonts() = 0; 38 virtual void ReleaseCachedFonts() = 0;
37 #endif 39 #endif
38 }; 40 };
39 41
40 } // namespace content 42 } // namespace content
41 43
42 #endif // CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_ 44 #endif // CONTENT_PUBLIC_UTILITY_UTILITY_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698