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

Side by Side Diff: chrome/common/chrome_utility_messages.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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 // Multiply-included message file, so no include guard. 5 // Multiply-included message file, so no include guard.
6 6
7 #include <string> 7 #include <string>
8 #include <vector> 8 #include <vector>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 // Reply when an error occured decoding the image. 136 // Reply when an error occured decoding the image.
137 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_DecodeImage_Failed) 137 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_DecodeImage_Failed)
138 138
139 // Reply when the utility process has succeeded in rendering the PDF. 139 // Reply when the utility process has succeeded in rendering the PDF.
140 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Succeeded, 140 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Succeeded,
141 int) // Highest rendered page number 141 int) // Highest rendered page number
142 142
143 // Reply when an error occured rendering the PDF. 143 // Reply when an error occured rendering the PDF.
144 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Failed) 144 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Failed)
145 145
146 #if defined(OS_WIN)
147 // Request that the given font be loaded by the host so it's cached by the
148 // OS. Please see ChildProcessHost::PreCacheFont for details.
149 IPC_SYNC_MESSAGE_CONTROL1_0(ChromeUtilityHostMsg_PreCacheFont,
150 LOGFONT /* font data */)
151 #endif // defined(OS_WIN)
152
153 // Reply when the utility process successfully parsed a JSON string. 146 // Reply when the utility process successfully parsed a JSON string.
154 // 147 //
155 // WARNING: The result can be of any Value subclass type, but we can't easily 148 // WARNING: The result can be of any Value subclass type, but we can't easily
156 // pass indeterminate value types by const object reference with our IPC macros, 149 // pass indeterminate value types by const object reference with our IPC macros,
157 // so we put the result Value into a ListValue. Handlers should examine the 150 // so we put the result Value into a ListValue. Handlers should examine the
158 // first (and only) element of the ListValue for the actual result. 151 // first (and only) element of the ListValue for the actual result.
159 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded, 152 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Succeeded,
160 ListValue) 153 ListValue)
161 154
162 // Reply when the utility process failed in parsing a JSON string. 155 // Reply when the utility process failed in parsing a JSON string.
163 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed, 156 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_ParseJSON_Failed,
164 std::string /* error message, if any*/) 157 std::string /* error message, if any*/)
165 158
166 // Reply when the utility process has succeeded in obtaining the printer 159 // Reply when the utility process has succeeded in obtaining the printer
167 // capabilities and defaults. 160 // capabilities and defaults.
168 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded, 161 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Succeeded,
169 std::string /* printer name */, 162 std::string /* printer name */,
170 printing::PrinterCapsAndDefaults) 163 printing::PrinterCapsAndDefaults)
171 164
172 // Reply when the utility process has failed to obtain the printer 165 // Reply when the utility process has failed to obtain the printer
173 // capabilities and defaults. 166 // capabilities and defaults.
174 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, 167 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed,
175 std::string /* printer name */) 168 std::string /* printer name */)
OLDNEW
« no previous file with comments | « no previous file | chrome/renderer/chrome_render_process_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698