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/renderer/mock_printer.h" | 5 #include "chrome/renderer/mock_printer.h" |
6 | 6 |
7 #include "base/basictypes.h" | 7 #include "base/basictypes.h" |
8 #include "base/file_util.h" | 8 #include "base/file_util.h" |
9 #include "base/shared_memory.h" | 9 #include "base/shared_memory.h" |
10 #include "base/string16.h" | 10 #include "base/strings/string16.h" |
11 #include "base/strings/utf_string_conversions.h" | 11 #include "base/strings/utf_string_conversions.h" |
12 #include "chrome/common/print_messages.h" | 12 #include "chrome/common/print_messages.h" |
13 #include "ipc/ipc_message_utils.h" | 13 #include "ipc/ipc_message_utils.h" |
14 #include "printing/metafile_impl.h" | 14 #include "printing/metafile_impl.h" |
15 #include "printing/units.h" | 15 #include "printing/units.h" |
16 #include "testing/gtest/include/gtest/gtest.h" | 16 #include "testing/gtest/include/gtest/gtest.h" |
17 | 17 |
18 #if defined(OS_MACOSX) | 18 #if defined(OS_MACOSX) |
19 #include "printing/pdf_metafile_cg_mac.h" | 19 #include "printing/pdf_metafile_cg_mac.h" |
20 #endif | 20 #endif |
(...skipping 293 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 params->margin_top = margin_top_; | 314 params->margin_top = margin_top_; |
315 params->is_first_request = is_first_request_; | 315 params->is_first_request = is_first_request_; |
316 params->print_scaling_option = print_scaling_option_; | 316 params->print_scaling_option = print_scaling_option_; |
317 params->print_to_pdf = print_to_pdf_; | 317 params->print_to_pdf = print_to_pdf_; |
318 params->preview_request_id = preview_request_id_; | 318 params->preview_request_id = preview_request_id_; |
319 params->display_header_footer = display_header_footer_; | 319 params->display_header_footer = display_header_footer_; |
320 params->date = date_; | 320 params->date = date_; |
321 params->title = title_; | 321 params->title = title_; |
322 params->url = url_; | 322 params->url = url_; |
323 } | 323 } |
OLD | NEW |