OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 #include "base/strings/string16.h" | 5 #include "base/strings/string16.h" |
6 #include "ui/gfx/geometry/size.h" | 6 #include "ui/gfx/geometry/size.h" |
7 | 7 |
8 #define IPC_MESSAGE_IMPL | 8 #define IPC_MESSAGE_IMPL |
9 #include "components/printing/common/print_messages.h" | 9 #include "components/printing/common/print_messages.h" |
10 | 10 |
11 // Generate constructors. | 11 // Generate constructors. |
12 #include "ipc/struct_constructor_macros.h" | 12 #include "ipc/struct_constructor_macros.h" |
13 #include "components/printing/common/print_messages.h" | 13 #include "components/printing/common/print_messages.h" |
14 | 14 |
15 // Generate destructors. | 15 // Generate destructors. |
16 #include "ipc/struct_destructor_macros.h" | 16 #include "ipc/struct_destructor_macros.h" |
17 #include "components/printing/common/print_messages.h" | 17 #include "components/printing/common/print_messages.h" |
18 | 18 |
| 19 // Generate param traits size methods. |
| 20 #include "ipc/param_traits_size_macros.h" |
| 21 namespace IPC { |
| 22 #include "components/printing/common/print_messages.h" |
| 23 } |
| 24 |
19 // Generate param traits write methods. | 25 // Generate param traits write methods. |
20 #include "ipc/param_traits_write_macros.h" | 26 #include "ipc/param_traits_write_macros.h" |
21 namespace IPC { | 27 namespace IPC { |
22 #include "components/printing/common/print_messages.h" | 28 #include "components/printing/common/print_messages.h" |
23 } // namespace IPC | 29 } // namespace IPC |
24 | 30 |
25 // Generate param traits read methods. | 31 // Generate param traits read methods. |
26 #include "ipc/param_traits_read_macros.h" | 32 #include "ipc/param_traits_read_macros.h" |
27 namespace IPC { | 33 namespace IPC { |
28 #include "components/printing/common/print_messages.h" | 34 #include "components/printing/common/print_messages.h" |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 PrintHostMsg_SetOptionsFromDocument_Params() | 119 PrintHostMsg_SetOptionsFromDocument_Params() |
114 : is_scaling_disabled(false), | 120 : is_scaling_disabled(false), |
115 copies(0), | 121 copies(0), |
116 duplex(printing::UNKNOWN_DUPLEX_MODE) { | 122 duplex(printing::UNKNOWN_DUPLEX_MODE) { |
117 } | 123 } |
118 | 124 |
119 PrintHostMsg_SetOptionsFromDocument_Params:: | 125 PrintHostMsg_SetOptionsFromDocument_Params:: |
120 ~PrintHostMsg_SetOptionsFromDocument_Params() { | 126 ~PrintHostMsg_SetOptionsFromDocument_Params() { |
121 } | 127 } |
122 #endif // defined(ENABLE_PRINT_PREVIEW) | 128 #endif // defined(ENABLE_PRINT_PREVIEW) |
OLD | NEW |