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

Side by Side 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, 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_RENDERER_RENDER_THREAD_H_ 5 #ifndef CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 6 #define CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
7 7
8 #include <string>
9
8 #include "base/basictypes.h" 10 #include "base/basictypes.h"
9 #include "base/shared_memory.h" 11 #include "base/shared_memory.h"
10 #include "content/common/content_export.h" 12 #include "content/common/content_export.h"
11 #include "ipc/ipc_channel_proxy.h" 13 #include "ipc/ipc_channel_proxy.h"
12 #include "ipc/ipc_sender.h" 14 #include "ipc/ipc_sender.h"
13 15
14 #if defined(OS_WIN) 16 #if defined(OS_WIN)
15 #include <windows.h> 17 #include <windows.h>
16 #endif 18 #endif
17 19
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 104
103 // Suspend/resume the webkit timer for this renderer. 105 // Suspend/resume the webkit timer for this renderer.
104 virtual void ToggleWebKitSharedTimer(bool suspend) = 0; 106 virtual void ToggleWebKitSharedTimer(bool suspend) = 0;
105 107
106 virtual void UpdateHistograms(int sequence_number) = 0; 108 virtual void UpdateHistograms(int sequence_number) = 0;
107 109
108 #if defined(OS_WIN) 110 #if defined(OS_WIN)
109 // Request that the given font be loaded by the browser so it's cached by the 111 // Request that the given font be loaded by the browser so it's cached by the
110 // OS. Please see ChildProcessHost::PreCacheFont for details. 112 // OS. Please see ChildProcessHost::PreCacheFont for details.
111 virtual void PreCacheFont(const LOGFONT& log_font) = 0; 113 virtual void PreCacheFont(const LOGFONT& log_font) = 0;
112 114 // Request that the given font characters be loaded by the browser so it's
115 // cached by the OS. Please see ChildProcessHost::PreCacheFontCharacters
116 // for details.
117 virtual void PreCacheFontCharacters(const LOGFONT& log_font,
118 const std::wstring& str) =0;
113 // Release cached font. 119 // Release cached font.
114 virtual void ReleaseCachedFonts() = 0; 120 virtual void ReleaseCachedFonts() = 0;
115 #endif 121 #endif
116 }; 122 };
117 123
118 } // namespace content 124 } // namespace content
119 125
120 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_ 126 #endif // CONTENT_PUBLIC_RENDERER_RENDER_THREAD_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698