Chromium Code Reviews| 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 "chrome/common/print_messages.h" | 5 #include "chrome/common/print_messages.h" |
| 6 | 6 |
| 7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
| 8 #include "base/strings/string16.h" | 8 #include "base/strings/string16.h" |
| 9 #include "ui/gfx/size.h" | 9 #include "ui/gfx/size.h" |
| 10 | 10 |
| (...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 72 PrintHostMsg_RequestPrintPreview_Params:: | 72 PrintHostMsg_RequestPrintPreview_Params:: |
| 73 PrintHostMsg_RequestPrintPreview_Params() | 73 PrintHostMsg_RequestPrintPreview_Params() |
| 74 : is_modifiable(false), | 74 : is_modifiable(false), |
| 75 webnode_only(false), | 75 webnode_only(false), |
| 76 has_selection(false), | 76 has_selection(false), |
| 77 selection_only(false) { | 77 selection_only(false) { |
| 78 } | 78 } |
| 79 | 79 |
| 80 PrintHostMsg_RequestPrintPreview_Params:: | 80 PrintHostMsg_RequestPrintPreview_Params:: |
| 81 ~PrintHostMsg_RequestPrintPreview_Params() {} | 81 ~PrintHostMsg_RequestPrintPreview_Params() {} |
| 82 | |
| 83 PrintHostMsg_SetOptionsFromDocument_Params:: | |
| 84 PrintHostMsg_SetOptionsFromDocument_Params() | |
| 85 : print_scaling_disabled(false), | |
| 86 print_copies(0), | |
| 87 print_duplex(0), | |
| 88 print_range() { | |
|
Vitaly Buka (NO REVIEWS)
2014/07/11 19:28:37
duplex(UNKNOWN_DUPLEX_MODE),
no need print_range()
Nikhil
2014/07/14 08:58:08
Done.
| |
| 89 } | |
| 90 | |
| 91 PrintHostMsg_SetOptionsFromDocument_Params:: | |
| 92 ~PrintHostMsg_SetOptionsFromDocument_Params() { | |
| 93 } | |
| 94 | |
| 95 void PrintHostMsg_SetOptionsFromDocument_Params::Reset() { | |
| 96 print_scaling_disabled = false; | |
| 97 print_copies = 0; | |
|
Vitaly Buka (NO REVIEWS)
2014/07/11 19:28:37
we don't need reset(), we are not going to reuse s
Nikhil
2014/07/14 08:58:08
Done.
| |
| 98 print_duplex = 0; | |
| 99 print_range = std::vector<int>(); | |
| 100 } | |
| OLD | NEW |