| 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 #ifndef CHROME_RENDERER_MOCK_PRINTER_H_ | 5 #ifndef CHROME_RENDERER_MOCK_PRINTER_H_ |
| 6 #define CHROME_RENDERER_MOCK_PRINTER_H_ | 6 #define CHROME_RENDERER_MOCK_PRINTER_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 #include <vector> | 9 #include <vector> |
| 10 | 10 |
| (...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 145 bool is_first_request_; | 145 bool is_first_request_; |
| 146 bool print_to_pdf_; | 146 bool print_to_pdf_; |
| 147 int preview_request_id_; | 147 int preview_request_id_; |
| 148 | 148 |
| 149 // Specifies whether to retain/crop/scale source page size to fit the | 149 // Specifies whether to retain/crop/scale source page size to fit the |
| 150 // given printable area. | 150 // given printable area. |
| 151 WebKit::WebPrintScalingOption print_scaling_option_; | 151 WebKit::WebPrintScalingOption print_scaling_option_; |
| 152 | 152 |
| 153 // Used for displaying headers and footers. | 153 // Used for displaying headers and footers. |
| 154 bool display_header_footer_; | 154 bool display_header_footer_; |
| 155 string16 date_; | |
| 156 string16 title_; | 155 string16 title_; |
| 157 string16 url_; | 156 string16 url_; |
| 158 | 157 |
| 159 // Used for generating invalid settings. | 158 // Used for generating invalid settings. |
| 160 bool use_invalid_settings_; | 159 bool use_invalid_settings_; |
| 161 | 160 |
| 162 std::vector<scoped_refptr<MockPrinterPage> > pages_; | 161 std::vector<scoped_refptr<MockPrinterPage> > pages_; |
| 163 | 162 |
| 164 DISALLOW_COPY_AND_ASSIGN(MockPrinter); | 163 DISALLOW_COPY_AND_ASSIGN(MockPrinter); |
| 165 }; | 164 }; |
| 166 | 165 |
| 167 #endif // CHROME_RENDERER_MOCK_PRINTER_H_ | 166 #endif // CHROME_RENDERER_MOCK_PRINTER_H_ |
| OLD | NEW |