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

Side by Side Diff: printing/print_job_constants.cc

Issue 59843010: Print to Privet local printers (PDF only) (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 | « 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 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 const char kSettingPrintableAreaY[] = "printableAreaY"; 112 const char kSettingPrintableAreaY[] = "printableAreaY";
113 const char kSettingPrintableAreaWidth[] = "printableAreaWidth"; 113 const char kSettingPrintableAreaWidth[] = "printableAreaWidth";
114 const char kSettingPrintableAreaHeight[] = "printableAreaHeight"; 114 const char kSettingPrintableAreaHeight[] = "printableAreaHeight";
115 115
116 // Printer name. 116 // Printer name.
117 const char kSettingPrinterName[] = "printerName"; 117 const char kSettingPrinterName[] = "printerName";
118 118
119 // Print to PDF option: true if selected, false if not. 119 // Print to PDF option: true if selected, false if not.
120 const char kSettingPrintToPDF[] = "printToPDF"; 120 const char kSettingPrintToPDF[] = "printToPDF";
121 121
122 // Print using Privet option: true if destination is a Privet printer, false if
123 // not.
124 const char kSettingPrintWithPrivet[] = "printWithPrivet";
125
126 // Ticket option. Contains the ticket in CJT format.
127 const char kSettingTicket[] = "ticket";
128
122 // Whether to print CSS backgrounds. 129 // Whether to print CSS backgrounds.
123 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds"; 130 const char kSettingShouldPrintBackgrounds[] = "shouldPrintBackgrounds";
124 131
125 // Whether to print selection only. 132 // Whether to print selection only.
126 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly"; 133 const char kSettingShouldPrintSelectionOnly[] = "shouldPrintSelectionOnly";
127 134
128 // Indices used to represent first preview page and complete preview document. 135 // Indices used to represent first preview page and complete preview document.
129 const int FIRST_PAGE_INDEX = 0; 136 const int FIRST_PAGE_INDEX = 0;
130 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; 137 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1;
131 138
(...skipping 12 matching lines...) Expand all
144 const char kGreyscale[] = "Greyscale"; 151 const char kGreyscale[] = "Greyscale";
145 const char kMonochrome[] = "Monochrome"; 152 const char kMonochrome[] = "Monochrome";
146 const char kNormal[] = "Normal"; 153 const char kNormal[] = "Normal";
147 const char kNormalGray[] = "Normal.Gray"; 154 const char kNormalGray[] = "Normal.Gray";
148 const char kRGB[] = "RGB"; 155 const char kRGB[] = "RGB";
149 const char kRGBA[] = "RGBA"; 156 const char kRGBA[] = "RGBA";
150 const char kRGB16[] = "RGB16"; 157 const char kRGB16[] = "RGB16";
151 #endif 158 #endif
152 159
153 } // namespace printing 160 } // 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