Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(136)

Side by Side Diff: chrome/renderer/mock_printer.h

Issue 12087005: Async frame preparation for Preview with support if selection. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 double dpi_; 120 double dpi_;
121 double max_shrink_; 121 double max_shrink_;
122 double min_shrink_; 122 double min_shrink_;
123 123
124 // Desired apparent dpi on paper. 124 // Desired apparent dpi on paper.
125 int desired_dpi_; 125 int desired_dpi_;
126 126
127 // Print selection. 127 // Print selection.
128 bool selection_only_; 128 bool selection_only_;
129 129
130 // Print css backgrounds.
131 bool should_print_backgrounds_;
132
130 // Cookie for the document to ensure correctness. 133 // Cookie for the document to ensure correctness.
131 int document_cookie_; 134 int document_cookie_;
132 int current_document_cookie_; 135 int current_document_cookie_;
133 136
134 // The current status of this printer. 137 // The current status of this printer.
135 Status printer_status_; 138 Status printer_status_;
136 139
137 // The output of a printing job. 140 // The output of a printing job.
138 int number_pages_; 141 int number_pages_;
139 int page_number_; 142 int page_number_;
(...skipping 15 matching lines...) Expand all
155 158
156 // Used for generating invalid settings. 159 // Used for generating invalid settings.
157 bool use_invalid_settings_; 160 bool use_invalid_settings_;
158 161
159 std::vector<scoped_refptr<MockPrinterPage> > pages_; 162 std::vector<scoped_refptr<MockPrinterPage> > pages_;
160 163
161 DISALLOW_COPY_AND_ASSIGN(MockPrinter); 164 DISALLOW_COPY_AND_ASSIGN(MockPrinter);
162 }; 165 };
163 166
164 #endif // CHROME_RENDERER_MOCK_PRINTER_H_ 167 #endif // CHROME_RENDERER_MOCK_PRINTER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698