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

Side by Side Diff: printing/print_job_constants.cc

Issue 9699040: PrintPreview: Hide/Show the header footer option based on print frame margins. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: '' Created 8 years, 9 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) 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 #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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 const char kSettingPageRange[] = "pageRange"; 106 const char kSettingPageRange[] = "pageRange";
107 107
108 // The first page of a page range. (1-based) 108 // The first page of a page range. (1-based)
109 const char kSettingPageRangeFrom[] = "from"; 109 const char kSettingPageRangeFrom[] = "from";
110 110
111 // The last page of a page range. (1-based) 111 // The last page of a page range. (1-based)
112 const char kSettingPageRangeTo[] = "to"; 112 const char kSettingPageRangeTo[] = "to";
113 113
114 const char kSettingPreviewModifiable[] = "previewModifiable"; 114 const char kSettingPreviewModifiable[] = "previewModifiable";
115 115
116 // Keys that specifies the printable area details.
117 const char kSettingPrintableAreaX[] = "printableAreaX";
118 const char kSettingPrintableAreaY[] = "printableAreaY";
119 const char kSettingPrintableAreaWidth[] = "printableAreaWidth";
120 const char kSettingPrintableAreaHeight[] = "printableAreaHeight";
121
116 // Printer name. 122 // Printer name.
117 const char kSettingPrinterName[] = "printerName"; 123 const char kSettingPrinterName[] = "printerName";
118 124
119 // Print to PDF option: true if selected, false if not. 125 // Print to PDF option: true if selected, false if not.
120 const char kSettingPrintToPDF[] = "printToPDF"; 126 const char kSettingPrintToPDF[] = "printToPDF";
121 127
122 // Indices used to represent first preview page and complete preview document. 128 // Indices used to represent first preview page and complete preview document.
123 const int FIRST_PAGE_INDEX = 0; 129 const int FIRST_PAGE_INDEX = 0;
124 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1; 130 const int COMPLETE_PREVIEW_DOCUMENT_INDEX = -1;
125 131
(...skipping 13 matching lines...) Expand all
139 const char kGreyscale[] = "Greyscale"; 145 const char kGreyscale[] = "Greyscale";
140 const char kMonochrome[] = "Monochrome"; 146 const char kMonochrome[] = "Monochrome";
141 const char kNormal[] = "Normal"; 147 const char kNormal[] = "Normal";
142 const char kNormalGray[] = "Normal.Gray"; 148 const char kNormalGray[] = "Normal.Gray";
143 const char kRGB[] = "RGB"; 149 const char kRGB[] = "RGB";
144 const char kRGBA[] = "RGBA"; 150 const char kRGBA[] = "RGBA";
145 const char kRGB16[] = "RGB16"; 151 const char kRGB16[] = "RGB16";
146 #endif 152 #endif
147 153
148 } // namespace printing 154 } // 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