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

Side by Side Diff: chrome/common/chrome_utility_printing_messages.h

Issue 2656303005: no_messages
Patch Set: Created 3 years, 10 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
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | chrome/utility/printing_handler.h » ('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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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/strings/string16.h" 10 #include "base/strings/string16.h"
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 IPC::PlatformFileForTransit /* input_file */, 114 IPC::PlatformFileForTransit /* input_file */,
115 printing::PdfRenderSettings /* settings */) 115 printing::PdfRenderSettings /* settings */)
116 116
117 // Requests conversion of the next page. 117 // Requests conversion of the next page.
118 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RenderPDFPagesToMetafiles_GetPage, 118 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RenderPDFPagesToMetafiles_GetPage,
119 int /* page_number */, 119 int /* page_number */,
120 IPC::PlatformFileForTransit /* output_file */) 120 IPC::PlatformFileForTransit /* output_file */)
121 121
122 // Requests utility process to stop conversion and exit. 122 // Requests utility process to stop conversion and exit.
123 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_RenderPDFPagesToMetafiles_Stop) 123 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_RenderPDFPagesToMetafiles_Stop)
124
125 // Tell the utility process to start rendering the given PDF into PS.
126 // Utility process would be alive until
127 // ChromeUtilityMsg_RenderPDFPagesToPostScript_Stop message.
128 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RenderPDFPagesToPostScript_Start,
129 IPC::PlatformFileForTransit /* input_file */,
130 printing::PdfRenderSettings /* settings */)
131
132 // Requests conversion of the next page.
133 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RenderPDFPagesToPostScript_GetPage,
134 int /* page_number */,
135 IPC::PlatformFileForTransit /* output_file */)
136
137 // Requests utility process to stop conversion and exit.
138 IPC_MESSAGE_CONTROL0(ChromeUtilityMsg_RenderPDFPagesToPostScript_Stop)
139 #endif // BUILDFLAG(ENABLE_PRINTING) && defined(OS_WIN) 124 #endif // BUILDFLAG(ENABLE_PRINTING) && defined(OS_WIN)
140 125
141 //------------------------------------------------------------------------------ 126 //------------------------------------------------------------------------------
142 // Utility process host messages: 127 // Utility process host messages:
143 // These are messages from the utility process to the browser. 128 // These are messages from the utility process to the browser.
144 129
145 #if BUILDFLAG(ENABLE_PRINT_PREVIEW) 130 #if BUILDFLAG(ENABLE_PRINT_PREVIEW)
146 // Reply when the utility process has succeeded in rendering the PDF to PWG. 131 // Reply when the utility process has succeeded in rendering the PDF to PWG.
147 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToPWGRaster_Succeeded) 132 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToPWGRaster_Succeeded)
148 133
(...skipping 29 matching lines...) Expand all
178 // Reply when the utility process loaded PDF. |page_count| is 0, if loading 163 // Reply when the utility process loaded PDF. |page_count| is 0, if loading
179 // failed. 164 // failed.
180 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount, 165 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount,
181 int /* page_count */) 166 int /* page_count */)
182 167
183 // Reply when the utility process rendered the PDF page. 168 // Reply when the utility process rendered the PDF page.
184 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone, 169 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone,
185 bool /* success */, 170 bool /* success */,
186 float /* scale_factor */) 171 float /* scale_factor */)
187 172
188 // Reply when the utility process loaded PDF. |page_count| is 0, if loading
189 // failed.
190 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToPostScript_PageCount,
191 int /* page_count */)
192
193 // Reply when the utility process rendered the PDF page.
194 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToPostScript_PageDone,
195 bool /* success */)
196
197 // Request that the given font characters be loaded by the browser so it's 173 // Request that the given font characters be loaded by the browser so it's
198 // cached by the OS. Please see 174 // cached by the OS. Please see
199 // PdfToEmfUtilityProcessHostClient::OnPreCacheFontCharacters for details. 175 // PdfToEmfUtilityProcessHostClient::OnPreCacheFontCharacters for details.
200 IPC_SYNC_MESSAGE_CONTROL2_0(ChromeUtilityHostMsg_PreCacheFontCharacters, 176 IPC_SYNC_MESSAGE_CONTROL2_0(ChromeUtilityHostMsg_PreCacheFontCharacters,
201 LOGFONT /* font_data */, 177 LOGFONT /* font_data */,
202 base::string16 /* characters */) 178 base::string16 /* characters */)
203 179
204 #endif // ENABLE_PRINTING && OS_WIN 180 #endif // ENABLE_PRINTING && OS_WIN
OLDNEW
« no previous file with comments | « chrome/browser/printing/print_job.cc ('k') | chrome/utility/printing_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698