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

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

Issue 345693002: Extensions: Split extensions utility IPC messages into its own file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: disable another test Created 6 years, 5 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
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/common_message_generator.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"
11 #include "ipc/ipc_platform_file.h" 11 #include "ipc/ipc_platform_file.h"
12 #include "printing/backend/print_backend.h" 12 #include "printing/backend/print_backend.h"
13 #include "printing/page_range.h" 13 #include "printing/page_range.h"
14 #include "printing/pdf_render_settings.h" 14 #include "printing/pdf_render_settings.h"
15 #include "printing/pwg_raster_settings.h" 15 #include "printing/pwg_raster_settings.h"
16 16
17 #if !defined(ENABLE_FULL_PRINTING) 17 #if !defined(ENABLE_FULL_PRINTING)
18 #error "Full printing must be enabled" 18 #error "Full printing must be enabled"
19 #endif 19 #endif
20 20
21 #define IPC_MESSAGE_START UtilityPrintingMsgStart 21 #define IPC_MESSAGE_START ChromeUtilityPrintingMsgStart
22 22
23 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange) 23 IPC_STRUCT_TRAITS_BEGIN(printing::PageRange)
24 IPC_STRUCT_TRAITS_MEMBER(from) 24 IPC_STRUCT_TRAITS_MEMBER(from)
25 IPC_STRUCT_TRAITS_MEMBER(to) 25 IPC_STRUCT_TRAITS_MEMBER(to)
26 IPC_STRUCT_TRAITS_END() 26 IPC_STRUCT_TRAITS_END()
27 27
28 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterCapsAndDefaults) 28 IPC_STRUCT_TRAITS_BEGIN(printing::PrinterCapsAndDefaults)
29 IPC_STRUCT_TRAITS_MEMBER(printer_capabilities) 29 IPC_STRUCT_TRAITS_MEMBER(printer_capabilities)
30 IPC_STRUCT_TRAITS_MEMBER(caps_mime_type) 30 IPC_STRUCT_TRAITS_MEMBER(caps_mime_type)
31 IPC_STRUCT_TRAITS_MEMBER(printer_defaults) 31 IPC_STRUCT_TRAITS_MEMBER(printer_defaults)
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 141
142 #if defined(WIN_PDF_METAFILE_FOR_PRINTING) 142 #if defined(WIN_PDF_METAFILE_FOR_PRINTING)
143 // Reply when the utility process has succeeded in rendering the PDF. 143 // Reply when the utility process has succeeded in rendering the PDF.
144 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_Succeeded, 144 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_Succeeded,
145 std::vector<printing::PageRange>, // Pages rendered 145 std::vector<printing::PageRange>, // Pages rendered
146 double) // Scale factor 146 double) // Scale factor
147 147
148 // Reply when an error occurred rendering the PDF. 148 // Reply when an error occurred rendering the PDF.
149 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Failed) 149 IPC_MESSAGE_CONTROL0(ChromeUtilityHostMsg_RenderPDFPagesToMetafile_Failed)
150 #endif 150 #endif
OLDNEW
« no previous file with comments | « chrome/common/chrome_utility_messages.h ('k') | chrome/common/common_message_generator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698