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

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

Issue 30443003: Use JS Date().toLocaleDateString() to format date in header. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 1 month 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
« no previous file with comments | « chrome/common/print_messages.cc ('k') | chrome/renderer/mock_printer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 134 matching lines...) Expand 10 before | Expand all | Expand 10 after
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_
OLDNEW
« no previous file with comments | « chrome/common/print_messages.cc ('k') | chrome/renderer/mock_printer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698