| 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 |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 : pages() { | 88 : pages() { |
| 89 } | 89 } |
| 90 | 90 |
| 91 PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {} | 91 PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {} |
| 92 | 92 |
| 93 void PrintMsg_PrintPages_Params::Reset() { | 93 void PrintMsg_PrintPages_Params::Reset() { |
| 94 params.Reset(); | 94 params.Reset(); |
| 95 pages = std::vector<int>(); | 95 pages = std::vector<int>(); |
| 96 } | 96 } |
| 97 | 97 |
| 98 #if defined(ENABLE_PRINT_PREVIEW) |
| 98 PrintHostMsg_RequestPrintPreview_Params:: | 99 PrintHostMsg_RequestPrintPreview_Params:: |
| 99 PrintHostMsg_RequestPrintPreview_Params() | 100 PrintHostMsg_RequestPrintPreview_Params() |
| 100 : is_modifiable(false), | 101 : is_modifiable(false), |
| 101 webnode_only(false), | 102 webnode_only(false), |
| 102 has_selection(false), | 103 has_selection(false), |
| 103 selection_only(false) { | 104 selection_only(false) { |
| 104 } | 105 } |
| 105 | 106 |
| 106 PrintHostMsg_RequestPrintPreview_Params:: | 107 PrintHostMsg_RequestPrintPreview_Params:: |
| 107 ~PrintHostMsg_RequestPrintPreview_Params() {} | 108 ~PrintHostMsg_RequestPrintPreview_Params() {} |
| 108 | 109 |
| 109 PrintHostMsg_SetOptionsFromDocument_Params:: | 110 PrintHostMsg_SetOptionsFromDocument_Params:: |
| 110 PrintHostMsg_SetOptionsFromDocument_Params() | 111 PrintHostMsg_SetOptionsFromDocument_Params() |
| 111 : is_scaling_disabled(false), | 112 : is_scaling_disabled(false), |
| 112 copies(0), | 113 copies(0), |
| 113 duplex(printing::UNKNOWN_DUPLEX_MODE) { | 114 duplex(printing::UNKNOWN_DUPLEX_MODE) { |
| 114 } | 115 } |
| 115 | 116 |
| 116 PrintHostMsg_SetOptionsFromDocument_Params:: | 117 PrintHostMsg_SetOptionsFromDocument_Params:: |
| 117 ~PrintHostMsg_SetOptionsFromDocument_Params() { | 118 ~PrintHostMsg_SetOptionsFromDocument_Params() { |
| 118 } | 119 } |
| 120 #endif // defined(ENABLE_PRINT_PREVIEW) |
| OLD | NEW |