| 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 "build/build_config.h" |
| 10 #include "components/printing/common/printing_param_traits_macros.h" | 11 #include "components/printing/common/printing_param_traits_macros.h" |
| 11 #include "ipc/ipc_message_macros.h" | 12 #include "ipc/ipc_message_macros.h" |
| 12 #include "ipc/ipc_platform_file.h" | 13 #include "ipc/ipc_platform_file.h" |
| 13 #include "printing/backend/print_backend.h" | 14 #include "printing/backend/print_backend.h" |
| 14 #include "printing/page_range.h" | 15 #include "printing/page_range.h" |
| 15 #include "printing/pdf_render_settings.h" | 16 #include "printing/pdf_render_settings.h" |
| 16 #include "printing/pwg_raster_settings.h" | 17 #include "printing/pwg_raster_settings.h" |
| 17 | 18 |
| 18 #define IPC_MESSAGE_START ChromeUtilityPrintingMsgStart | 19 #define IPC_MESSAGE_START ChromeUtilityPrintingMsgStart |
| 19 | 20 |
| (...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 // Reply when the utility process loaded PDF. |page_count| is 0, if loading | 146 // Reply when the utility process loaded PDF. |page_count| is 0, if loading |
| 146 // failed. | 147 // failed. |
| 147 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount, | 148 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount, |
| 148 int /* page_count */) | 149 int /* page_count */) |
| 149 | 150 |
| 150 // Reply when the utility process rendered the PDF page. | 151 // Reply when the utility process rendered the PDF page. |
| 151 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone, | 152 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone, |
| 152 bool /* success */, | 153 bool /* success */, |
| 153 float /* scale_factor */) | 154 float /* scale_factor */) |
| 154 #endif // ENABLE_PRINTING && OS_WIN | 155 #endif // ENABLE_PRINTING && OS_WIN |
| OLD | NEW |