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

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

Issue 857053002: Generate the print messages in components/printing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: reorder imports Created 5 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
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 "components/printing/common/printing_param_traits_macros.h"
10 #include "ipc/ipc_message_macros.h" 11 #include "ipc/ipc_message_macros.h"
11 #include "ipc/ipc_platform_file.h" 12 #include "ipc/ipc_platform_file.h"
12 #include "printing/backend/print_backend.h" 13 #include "printing/backend/print_backend.h"
13 #include "printing/page_range.h" 14 #include "printing/page_range.h"
14 #include "printing/pdf_render_settings.h" 15 #include "printing/pdf_render_settings.h"
15 #include "printing/pwg_raster_settings.h" 16 #include "printing/pwg_raster_settings.h"
16 17
17 #define IPC_MESSAGE_START ChromeUtilityPrintingMsgStart 18 #define IPC_MESSAGE_START ChromeUtilityPrintingMsgStart
18 19
19 // Preview and Cloud Print messages. 20 // Preview and Cloud Print messages.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
144 // Reply when the utility process loaded PDF. |page_count| is 0, if loading 145 // Reply when the utility process loaded PDF. |page_count| is 0, if loading
145 // failed. 146 // failed.
146 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount, 147 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount,
147 int /* page_count */) 148 int /* page_count */)
148 149
149 // Reply when the utility process rendered the PDF page. 150 // Reply when the utility process rendered the PDF page.
150 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone, 151 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone,
151 bool /* success */, 152 bool /* success */,
152 float /* scale_factor */) 153 float /* scale_factor */)
153 #endif // ENABLE_PRINTING && OS_WIN 154 #endif // ENABLE_PRINTING && OS_WIN
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698