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 "ipc/ipc_message_macros.h" | 10 #include "ipc/ipc_message_macros.h" |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
42 IPC_STRUCT_TRAITS_MEMBER(color_changeable) | 42 IPC_STRUCT_TRAITS_MEMBER(color_changeable) |
43 IPC_STRUCT_TRAITS_MEMBER(color_default) | 43 IPC_STRUCT_TRAITS_MEMBER(color_default) |
44 IPC_STRUCT_TRAITS_MEMBER(color_model) | 44 IPC_STRUCT_TRAITS_MEMBER(color_model) |
45 IPC_STRUCT_TRAITS_MEMBER(bw_model) | 45 IPC_STRUCT_TRAITS_MEMBER(bw_model) |
46 IPC_STRUCT_TRAITS_MEMBER(papers) | 46 IPC_STRUCT_TRAITS_MEMBER(papers) |
47 IPC_STRUCT_TRAITS_MEMBER(default_paper) | 47 IPC_STRUCT_TRAITS_MEMBER(default_paper) |
48 IPC_STRUCT_TRAITS_MEMBER(dpis) | 48 IPC_STRUCT_TRAITS_MEMBER(dpis) |
49 IPC_STRUCT_TRAITS_MEMBER(default_dpi) | 49 IPC_STRUCT_TRAITS_MEMBER(default_dpi) |
50 IPC_STRUCT_TRAITS_END() | 50 IPC_STRUCT_TRAITS_END() |
51 | 51 |
52 IPC_ENUM_TRAITS(printing::PwgRasterTransformType) | 52 IPC_ENUM_TRAITS_MAX_VALUE(printing::PwgRasterTransformType, |
53 printing::PWG_RASTER_TRANSFORM_TYPE_LAST) | |
nasko
2014/10/08 17:20:51
Please align vertically the two lines. Refer to th
| |
53 | 54 |
54 IPC_STRUCT_TRAITS_BEGIN(printing::PwgRasterSettings) | 55 IPC_STRUCT_TRAITS_BEGIN(printing::PwgRasterSettings) |
55 IPC_STRUCT_TRAITS_MEMBER(odd_page_transform) | 56 IPC_STRUCT_TRAITS_MEMBER(odd_page_transform) |
56 IPC_STRUCT_TRAITS_MEMBER(rotate_all_pages) | 57 IPC_STRUCT_TRAITS_MEMBER(rotate_all_pages) |
57 IPC_STRUCT_TRAITS_MEMBER(reverse_page_order) | 58 IPC_STRUCT_TRAITS_MEMBER(reverse_page_order) |
58 IPC_STRUCT_TRAITS_END() | 59 IPC_STRUCT_TRAITS_END() |
59 | 60 |
60 //------------------------------------------------------------------------------ | 61 //------------------------------------------------------------------------------ |
61 // Utility process messages: | 62 // Utility process messages: |
62 // These are messages from the browser to the utility process. | 63 // These are messages from the browser to the utility process. |
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
143 // Reply when the utility process loaded PDF. |page_count| is 0, if loading | 144 // Reply when the utility process loaded PDF. |page_count| is 0, if loading |
144 // failed. | 145 // failed. |
145 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount, | 146 IPC_MESSAGE_CONTROL1(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageCount, |
146 int /* page_count */) | 147 int /* page_count */) |
147 | 148 |
148 // Reply when the utility process rendered the PDF page. | 149 // Reply when the utility process rendered the PDF page. |
149 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone, | 150 IPC_MESSAGE_CONTROL2(ChromeUtilityHostMsg_RenderPDFPagesToMetafiles_PageDone, |
150 bool /* success */, | 151 bool /* success */, |
151 double /* scale_factor */) | 152 double /* scale_factor */) |
152 #endif // ENABLE_PRINTING && OS_WIN | 153 #endif // ENABLE_PRINTING && OS_WIN |
OLD | NEW |