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

Side by Side Diff: printing/print_job_constants.cc

Issue 10083060: [Print Preview]: Added code to support pdf fit to page functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase + Fix nit Created 8 years, 7 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
« no previous file with comments | « printing/print_job_constants.h ('k') | no next file » | 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 #include "printing/print_job_constants.h" 5 #include "printing/print_job_constants.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 // True if this is the first preview request. 9 // True if this is the first preview request.
10 const char kIsFirstRequest[] = "isFirstRequest"; 10 const char kIsFirstRequest[] = "isFirstRequest";
(...skipping 24 matching lines...) Expand all
35 35
36 // Number of copies. 36 // Number of copies.
37 const char kSettingCopies[] = "copies"; 37 const char kSettingCopies[] = "copies";
38 38
39 // Device name: Unique printer identifier. 39 // Device name: Unique printer identifier.
40 const char kSettingDeviceName[] = "deviceName"; 40 const char kSettingDeviceName[] = "deviceName";
41 41
42 // Print job duplex mode. 42 // Print job duplex mode.
43 const char kSettingDuplexMode[] = "duplex"; 43 const char kSettingDuplexMode[] = "duplex";
44 44
45 // Option to fit source page contents to printer paper size: true if
46 // selected else false.
47 const char kSettingFitToPageEnabled[] = "fitToPageEnabled";
48
45 // True, when a new set of draft preview data is required. 49 // True, when a new set of draft preview data is required.
46 const char kSettingGenerateDraftData[] = "generateDraftData"; 50 const char kSettingGenerateDraftData[] = "generateDraftData";
47 51
48 // Option to print headers and Footers: true if selected, false if not. 52 // Option to print headers and Footers: true if selected, false if not.
49 const char kSettingHeaderFooterEnabled[] = "headerFooterEnabled"; 53 const char kSettingHeaderFooterEnabled[] = "headerFooterEnabled";
50 54
51 // Default character spacing for text while printing headers and footers. 55 // Default character spacing for text while printing headers and footers.
52 // (For CoreGraphics only). 56 // (For CoreGraphics only).
53 const int kSettingHeaderFooterCharacterSpacing = 0; 57 const int kSettingHeaderFooterCharacterSpacing = 0;
54 58
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after
145 const char kGreyscale[] = "Greyscale"; 149 const char kGreyscale[] = "Greyscale";
146 const char kMonochrome[] = "Monochrome"; 150 const char kMonochrome[] = "Monochrome";
147 const char kNormal[] = "Normal"; 151 const char kNormal[] = "Normal";
148 const char kNormalGray[] = "Normal.Gray"; 152 const char kNormalGray[] = "Normal.Gray";
149 const char kRGB[] = "RGB"; 153 const char kRGB[] = "RGB";
150 const char kRGBA[] = "RGBA"; 154 const char kRGBA[] = "RGBA";
151 const char kRGB16[] = "RGB16"; 155 const char kRGB16[] = "RGB16";
152 #endif 156 #endif
153 157
154 } // namespace printing 158 } // namespace printing
OLDNEW
« no previous file with comments | « printing/print_job_constants.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698