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

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

Issue 255543006: Printing on Windows via PDF (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: almost working; SafePlayback failing in final print Created 6 years, 8 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
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 // 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 // Tell the utility process to decode the given image data. 171 // Tell the utility process to decode the given image data.
172 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImage, 172 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImage,
173 std::vector<unsigned char>) // encoded image contents 173 std::vector<unsigned char>) // encoded image contents
174 174
175 // Tell the utility process to decode the given image data, which is base64 175 // Tell the utility process to decode the given image data, which is base64
176 // encoded. 176 // encoded.
177 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64, 177 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_DecodeImageBase64,
178 std::string) // base64 encoded image contents 178 std::string) // base64 encoded image contents
179 179
180 // Tell the utility process to render the given PDF into a metafile. 180 // Tell the utility process to render the given PDF into a metafile.
181 // TODO(vitalybuka): switch to IPC::PlatformFileForTransit. 181 // TODO(vitalybuka|scottmg): Deprecated, use RenderPDFPagesToMetafileHandles.
182 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile, 182 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafile,
183 base::PlatformFile, // PDF file 183 base::PlatformFile, // PDF file
184 base::FilePath, // Location for output metafile 184 base::FilePath, // Location for output metafile
185 printing::PdfRenderSettings, // PDF render settings 185 printing::PdfRenderSettings, // PDF render settings
186 std::vector<printing::PageRange>) 186 std::vector<printing::PageRange>)
187 187
188 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafileHandles,
189 IPC::PlatformFileForTransit, // PDF file
190 IPC::PlatformFileForTransit, // Output EMF.
191 printing::PdfRenderSettings, // PDF render settings
192 std::vector<printing::PageRange>)
193
188 // Tell the utility process to render the given PDF into a PWGRaster. 194 // Tell the utility process to render the given PDF into a PWGRaster.
189 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToPWGRaster, 195 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToPWGRaster,
190 IPC::PlatformFileForTransit, /* Input PDF file */ 196 IPC::PlatformFileForTransit, /* Input PDF file */
191 printing::PdfRenderSettings, /* PDF render settings */ 197 printing::PdfRenderSettings, /* PDF render settings */
192 // PWG transform settings. 198 // PWG transform settings.
193 printing::PwgRasterSettings, 199 printing::PwgRasterSettings,
194 IPC::PlatformFileForTransit /* Output PWG file */) 200 IPC::PlatformFileForTransit /* Output PWG file */)
195 201
196 // Tell the utility process to decode the given JPEG image data with a robust 202 // Tell the utility process to decode the given JPEG image data with a robust
197 // libjpeg codec. 203 // libjpeg codec.
(...skipping 313 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials, 517 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GetAndEncryptWiFiCredentials,
512 std::string /* ssid */, 518 std::string /* ssid */,
513 std::vector<uint8> /* public_key */) 519 std::vector<uint8> /* public_key */)
514 520
515 // Reply after getting WiFi credentials from the system and encrypting them with 521 // Reply after getting WiFi credentials from the system and encrypting them with
516 // caller's public key. |success| is false if error occurred. 522 // caller's public key. |success| is false if error occurred.
517 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials, 523 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_GotEncryptedWiFiCredentials,
518 std::vector<uint8> /* encrypted_key_data */, 524 std::vector<uint8> /* encrypted_key_data */,
519 bool /* success */) 525 bool /* success */)
520 #endif // defined(OS_WIN) 526 #endif // defined(OS_WIN)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698