| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 7 #pragma once |
| 8 | 8 |
| 9 #include <string> | 9 #include <string> |
| 10 #include <vector> | 10 #include <vector> |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 122 // Cookie for the document to ensure correctness. | 122 // Cookie for the document to ensure correctness. |
| 123 int document_cookie_; | 123 int document_cookie_; |
| 124 int current_document_cookie_; | 124 int current_document_cookie_; |
| 125 | 125 |
| 126 // The current status of this printer. | 126 // The current status of this printer. |
| 127 Status printer_status_; | 127 Status printer_status_; |
| 128 | 128 |
| 129 // The output of a printing job. | 129 // The output of a printing job. |
| 130 int number_pages_; | 130 int number_pages_; |
| 131 int page_number_; | 131 int page_number_; |
| 132 |
| 133 // Used only in the preview sequence. |
| 134 bool is_first_request_; |
| 135 int preview_request_id_; |
| 136 |
| 132 std::vector<scoped_refptr<MockPrinterPage> > pages_; | 137 std::vector<scoped_refptr<MockPrinterPage> > pages_; |
| 133 | 138 |
| 134 DISALLOW_COPY_AND_ASSIGN(MockPrinter); | 139 DISALLOW_COPY_AND_ASSIGN(MockPrinter); |
| 135 }; | 140 }; |
| 136 | 141 |
| 137 #endif // CHROME_RENDERER_MOCK_PRINTER_H_ | 142 #endif // CHROME_RENDERER_MOCK_PRINTER_H_ |
| OLD | NEW |