| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 desired_dpi = 0; | 46 desired_dpi = 0; |
| 47 document_cookie = 0; | 47 document_cookie = 0; |
| 48 selection_only = false; | 48 selection_only = false; |
| 49 supports_alpha_blend = false; | 49 supports_alpha_blend = false; |
| 50 preview_ui_id = -1; | 50 preview_ui_id = -1; |
| 51 preview_request_id = 0; | 51 preview_request_id = 0; |
| 52 is_first_request = false; | 52 is_first_request = false; |
| 53 print_scaling_option = blink::WebPrintScalingOptionSourceSize; | 53 print_scaling_option = blink::WebPrintScalingOptionSourceSize; |
| 54 print_to_pdf = false; | 54 print_to_pdf = false; |
| 55 display_header_footer = false; | 55 display_header_footer = false; |
| 56 title = string16(); | 56 title = base::string16(); |
| 57 url = string16(); | 57 url = base::string16(); |
| 58 should_print_backgrounds = false; | 58 should_print_backgrounds = false; |
| 59 } | 59 } |
| 60 | 60 |
| 61 PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params() | 61 PrintMsg_PrintPages_Params::PrintMsg_PrintPages_Params() |
| 62 : pages() { | 62 : pages() { |
| 63 } | 63 } |
| 64 | 64 |
| 65 PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {} | 65 PrintMsg_PrintPages_Params::~PrintMsg_PrintPages_Params() {} |
| 66 | 66 |
| 67 void PrintMsg_PrintPages_Params::Reset() { | 67 void PrintMsg_PrintPages_Params::Reset() { |
| 68 params.Reset(); | 68 params.Reset(); |
| 69 pages = std::vector<int>(); | 69 pages = std::vector<int>(); |
| 70 } | 70 } |
| 71 | 71 |
| 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() {} |
| OLD | NEW |