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

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

Issue 516823002: Removed print_web_view_helper_win.cc (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Thu Aug 28 14:04:52 PDT 2014 Created 6 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
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/print_messages.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 "ipc/ipc_message_macros.h" 10 #include "ipc/ipc_message_macros.h"
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults, 78 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterCapsAndDefaults,
79 std::string /* printer name */) 79 std::string /* printer name */)
80 80
81 // Tells the utility process to get capabilities and defaults for the specified 81 // Tells the utility process to get capabilities and defaults for the specified
82 // printer. Used on Windows to isolate the service process from printer driver 82 // printer. Used on Windows to isolate the service process from printer driver
83 // crashes by executing this in a separate process. This does not run in a 83 // crashes by executing this in a separate process. This does not run in a
84 // sandbox. Returns result as printing::PrinterSemanticCapsAndDefaults. 84 // sandbox. Returns result as printing::PrinterSemanticCapsAndDefaults.
85 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterSemanticCapsAndDefaults, 85 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterSemanticCapsAndDefaults,
86 std::string /* printer name */) 86 std::string /* printer name */)
87 87
88 88 #if defined(OS_WIN)
89 #if defined(WIN_PDF_METAFILE_FOR_PRINTING)
90 // Tell the utility process to render the given PDF into a metafile. 89 // Tell the utility process to render the given PDF into a metafile.
91 // The metafile path will have ".%d" inserted where the %d is the page number. 90 // The metafile path will have ".%d" inserted where the %d is the page number.
92 // If no page range is specified, all pages will be converted. 91 // If no page range is specified, all pages will be converted.
93 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafiles, 92 IPC_MESSAGE_CONTROL4(ChromeUtilityMsg_RenderPDFPagesToMetafiles,
94 IPC::PlatformFileForTransit, // PDF file 93 IPC::PlatformFileForTransit, // PDF file
95 base::FilePath, // Base location for output metafile 94 base::FilePath, // Base location for output metafile
96 printing::PdfRenderSettings, // PDF render settings 95 printing::PdfRenderSettings, // PDF render settings
97 std::vector<printing::PageRange>) 96 std::vector<printing::PageRange>)
98 #endif 97 #endif // OS_WIN
99 98
100 //------------------------------------------------------------------------------ 99 //------------------------------------------------------------------------------
101 // Utility process host messages: 100 // Utility process host messages:
102 // These are messages from the utility process to the browser. 101 // These are messages from the utility process to the browser.
103 102
104 // Reply when the utility process has succeeded in rendering the PDF to PWG. 103 // Reply when the utility process has succeeded in rendering the PDF to PWG.
105 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToPWGRaster_Succeeded) 104 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToPWGRaster_Succeeded)
106 105
107 // Reply when an error occurred rendering the PDF to PWG. 106 // Reply when an error occurred rendering the PDF to PWG.
108 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToPWGRaster_Failed) 107 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToPWGRaster_Failed)
(...skipping 15 matching lines...) Expand all
124 // capabilities and defaults. 123 // capabilities and defaults.
125 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed, 124 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_GetPrinterCapsAndDefaults_Failed,
126 std::string /* printer name */) 125 std::string /* printer name */)
127 126
128 // Reply when the utility process has failed to obtain the printer 127 // Reply when the utility process has failed to obtain the printer
129 // semantic capabilities and defaults. 128 // semantic capabilities and defaults.
130 IPC_MESSAGE_CONTROL1( 129 IPC_MESSAGE_CONTROL1(
131 ChromeUtilityHostMsg_GetPrinterSemanticCapsAndDefaults_Failed, 130 ChromeUtilityHostMsg_GetPrinterSemanticCapsAndDefaults_Failed,
132 std::string /* printer name */) 131 std::string /* printer name */)
133 132
134 #if defined(WIN_PDF_METAFILE_FOR_PRINTING) 133 #if defined(OS_WIN)
135 // Reply when the utility process has succeeded in rendering the PDF. 134 // Reply when the utility process has succeeded in rendering the PDF.
136 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_Succeeded, 135 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_Succeeded,
137 std::vector<printing::PageRange>, // Pages rendered 136 std::vector<printing::PageRange>, // Pages rendered
138 double) // Scale factor 137 double) // Scale factor
139 138
140 // Reply when an error occurred rendering the PDF. 139 // Reply when an error occurred rendering the PDF.
141 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Failed) 140 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Failed)
142 #endif 141 #endif // OS_WIN
OLDNEW
« no previous file with comments | « chrome/chrome_renderer.gypi ('k') | chrome/common/print_messages.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698