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

Side by Side Diff: content/common/child_process_messages.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 // Common IPC messages used for child processes. 5 // Common IPC messages used for child processes.
6 // Multiply-included message file, hence no include guard. 6 // Multiply-included message file, hence no include guard.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after
148 148
149 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete. 149 // Reply to ChildProcessMsg_DumpHandles when handle table dump is complete.
150 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone) 150 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_DumpHandlesDone)
151 151
152 #if defined(OS_WIN) 152 #if defined(OS_WIN)
153 // Request that the given font be loaded by the host so it's cached by the 153 // Request that the given font be loaded by the host so it's cached by the
154 // OS. Please see ChildProcessHost::PreCacheFont for details. 154 // OS. Please see ChildProcessHost::PreCacheFont for details.
155 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont, 155 IPC_SYNC_MESSAGE_CONTROL1_0(ChildProcessHostMsg_PreCacheFont,
156 LOGFONT /* font data */) 156 LOGFONT /* font data */)
157 157
158 // Request that the given font characters be loaded by the browser so it's
159 // cached by the OS. Please see ChildProcessHost::PreCacheFontCharacters
160 // for details.
161 IPC_SYNC_MESSAGE_CONTROL2_0(ChildProcessHostMsg_PreCacheFontCharacters,
162 LOGFONT, /* font data */
163 std::wstring /* characters */)
164
158 // Release the cached font 165 // Release the cached font
159 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts) 166 IPC_MESSAGE_CONTROL0(ChildProcessHostMsg_ReleaseCachedFonts)
160 #endif // defined(OS_WIN) 167 #endif // defined(OS_WIN)
161 168
162 // Asks the browser to create a block of shared memory for the child process to 169 // Asks the browser to create a block of shared memory for the child process to
163 // fill in and pass back to the browser. 170 // fill in and pass back to the browser.
164 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory, 171 IPC_SYNC_MESSAGE_CONTROL1_1(ChildProcessHostMsg_SyncAllocateSharedMemory,
165 uint32 /* buffer size */, 172 uint32 /* buffer size */,
166 base::SharedMemoryHandle) 173 base::SharedMemoryHandle)
167 174
168 #if defined(USE_TCMALLOC) 175 #if defined(USE_TCMALLOC)
169 // Reply to ChildProcessMsg_GetTcmallocStats. 176 // Reply to ChildProcessMsg_GetTcmallocStats.
170 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats, 177 IPC_MESSAGE_CONTROL1(ChildProcessHostMsg_TcmallocStats,
171 std::string /* output */) 178 std::string /* output */)
172 #endif 179 #endif
OLDNEW
« no previous file with comments | « no previous file | content/common/font_cache_dispatcher_win.h » ('j') | skia/ext/vector_platform_device_emf_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698