| 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 "components/printing/common/print_messages.h" | |
| 6 | |
| 7 #include "base/basictypes.h" | 5 #include "base/basictypes.h" |
| 8 #include "base/strings/string16.h" | 6 #include "base/strings/string16.h" |
| 9 #include "ui/gfx/geometry/size.h" | 7 #include "ui/gfx/geometry/size.h" |
| 10 | 8 |
| 9 #define IPC_MESSAGE_IMPL |
| 10 #include "components/printing/common/print_messages.h" |
| 11 |
| 12 // Generate constructors. |
| 13 #include "ipc/struct_constructor_macros.h" |
| 14 #include "components/printing/common/print_messages.h" |
| 15 |
| 16 // Generate destructors. |
| 17 #include "ipc/struct_destructor_macros.h" |
| 18 #include "components/printing/common/print_messages.h" |
| 19 |
| 20 // Generate param traits write methods. |
| 21 #include "ipc/param_traits_write_macros.h" |
| 22 namespace IPC { |
| 23 #include "components/printing/common/print_messages.h" |
| 24 } // namespace IPC |
| 25 |
| 26 // Generate param traits read methods. |
| 27 #include "ipc/param_traits_read_macros.h" |
| 28 namespace IPC { |
| 29 #include "components/printing/common/print_messages.h" |
| 30 } // namespace IPC |
| 31 |
| 32 // Generate param traits log methods. |
| 33 #include "ipc/param_traits_log_macros.h" |
| 34 namespace IPC { |
| 35 #include "components/printing/common/print_messages.h" |
| 36 } // namespace IPC |
| 37 |
| 11 PrintMsg_Print_Params::PrintMsg_Print_Params() | 38 PrintMsg_Print_Params::PrintMsg_Print_Params() |
| 12 : page_size(), | 39 : page_size(), |
| 13 content_size(), | 40 content_size(), |
| 14 printable_area(), | 41 printable_area(), |
| 15 margin_top(0), | 42 margin_top(0), |
| 16 margin_left(0), | 43 margin_left(0), |
| 17 dpi(0), | 44 dpi(0), |
| 18 min_shrink(0), | 45 min_shrink(0), |
| 19 max_shrink(0), | 46 max_shrink(0), |
| 20 desired_dpi(0), | 47 desired_dpi(0), |
| (...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 PrintHostMsg_SetOptionsFromDocument_Params:: | 110 PrintHostMsg_SetOptionsFromDocument_Params:: |
| 84 PrintHostMsg_SetOptionsFromDocument_Params() | 111 PrintHostMsg_SetOptionsFromDocument_Params() |
| 85 : is_scaling_disabled(false), | 112 : is_scaling_disabled(false), |
| 86 copies(0), | 113 copies(0), |
| 87 duplex(printing::UNKNOWN_DUPLEX_MODE) { | 114 duplex(printing::UNKNOWN_DUPLEX_MODE) { |
| 88 } | 115 } |
| 89 | 116 |
| 90 PrintHostMsg_SetOptionsFromDocument_Params:: | 117 PrintHostMsg_SetOptionsFromDocument_Params:: |
| 91 ~PrintHostMsg_SetOptionsFromDocument_Params() { | 118 ~PrintHostMsg_SetOptionsFromDocument_Params() { |
| 92 } | 119 } |
| OLD | NEW |