OLD | NEW |
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 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
92 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterSemanticCapsAndDefaults, | 92 IPC_MESSAGE_CONTROL1(ChromeUtilityMsg_GetPrinterSemanticCapsAndDefaults, |
93 std::string /* printer name */) | 93 std::string /* printer name */) |
94 #endif // ENABLE_PRINT_PREVIEW | 94 #endif // ENABLE_PRINT_PREVIEW |
95 | 95 |
96 // Windows uses messages for printing even without preview. crbug.com/170859 | 96 // Windows uses messages for printing even without preview. crbug.com/170859 |
97 // Primary user of Windows without preview is CEF. crbug.com/417967 | 97 // Primary user of Windows without preview is CEF. crbug.com/417967 |
98 #if BUILDFLAG(ENABLE_PRINTING) && defined(OS_WIN) | 98 #if BUILDFLAG(ENABLE_PRINTING) && defined(OS_WIN) |
99 // Tell the utility process to start rendering the given PDF into a metafile. | 99 // Tell the utility process to start rendering the given PDF into a metafile. |
100 // Utility process would be alive until | 100 // Utility process would be alive until |
101 // ChromeUtilityMsg_RenderPDFPagesToMetafiles_Stop message. | 101 // ChromeUtilityMsg_RenderPDFPagesToMetafiles_Stop message. |
102 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_RenderPDFPagesToMetafiles, | 102 IPC_MESSAGE_CONTROL3(ChromeUtilityMsg_RenderPDFPagesToMetafiles_Start, |
103 IPC::PlatformFileForTransit /* input_file */, | 103 IPC::PlatformFileForTransit /* input_file */, |
104 printing::PdfRenderSettings /* settings */, | 104 printing::PdfRenderSettings /* settings */, |
105 bool /* print_text_with_gdi */) | 105 bool /* print_text_with_gdi */) |
106 | 106 |
107 // Requests conversion of the next page. | 107 // Requests conversion of the next page. |
108 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RenderPDFPagesToMetafiles_GetPage, | 108 IPC_MESSAGE_CONTROL2(ChromeUtilityMsg_RenderPDFPagesToMetafiles_GetPage, |
109 int /* page_number */, | 109 int /* page_number */, |
110 IPC::PlatformFileForTransit /* output_file */) | 110 IPC::PlatformFileForTransit /* output_file */) |
111 | 111 |
112 // Requests utility process to stop conversion and exit. | 112 // Requests utility process to stop conversion and exit. |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
161 float /* scale_factor */) | 161 float /* scale_factor */) |
162 | 162 |
163 // Request that the given font characters be loaded by the browser so it's | 163 // Request that the given font characters be loaded by the browser so it's |
164 // cached by the OS. Please see | 164 // cached by the OS. Please see |
165 // PdfToEmfUtilityProcessHostClient::OnPreCacheFontCharacters for details. | 165 // PdfToEmfUtilityProcessHostClient::OnPreCacheFontCharacters for details. |
166 IPC_SYNC_MESSAGE_CONTROL2_0(ChromeUtilityHostMsg_PreCacheFontCharacters, | 166 IPC_SYNC_MESSAGE_CONTROL2_0(ChromeUtilityHostMsg_PreCacheFontCharacters, |
167 LOGFONT /* font_data */, | 167 LOGFONT /* font_data */, |
168 base::string16 /* characters */) | 168 base::string16 /* characters */) |
169 | 169 |
170 #endif // ENABLE_PRINTING && OS_WIN | 170 #endif // ENABLE_PRINTING && OS_WIN |
OLD | NEW |