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

Side by Side Diff: printing/print_job_constants.h

Issue 480303002: Use document from preview for System Dialog printing on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue Aug 26 01:11:31 PDT 2014 Created 6 years, 3 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/backend/win_helper.cc ('k') | printing/print_job_constants.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 PRINTING_PRINT_JOB_CONSTANTS_H_ 5 #ifndef PRINTING_PRINT_JOB_CONSTANTS_H_
6 #define PRINTING_PRINT_JOB_CONSTANTS_H_ 6 #define PRINTING_PRINT_JOB_CONSTANTS_H_
7 7
8 #include "build/build_config.h" 8 #include "build/build_config.h"
9 #include "printing/printing_export.h" 9 #include "printing/printing_export.h"
10 10
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; 56 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[];
57 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; 57 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[];
58 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; 58 PRINTING_EXPORT extern const char kSettingPrintableAreaX[];
59 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; 59 PRINTING_EXPORT extern const char kSettingPrintableAreaY[];
60 PRINTING_EXPORT extern const char kSettingPrinterDescription[]; 60 PRINTING_EXPORT extern const char kSettingPrinterDescription[];
61 PRINTING_EXPORT extern const char kSettingPrinterName[]; 61 PRINTING_EXPORT extern const char kSettingPrinterName[];
62 PRINTING_EXPORT extern const char kSettingPrinterOptions[]; 62 PRINTING_EXPORT extern const char kSettingPrinterOptions[];
63 PRINTING_EXPORT extern const char kSettingTicket[]; 63 PRINTING_EXPORT extern const char kSettingTicket[];
64 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[]; 64 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[];
65 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[]; 65 PRINTING_EXPORT extern const char kSettingShouldPrintSelectionOnly[];
66 PRINTING_EXPORT extern const char kSettingShowSystemDialog[];
66 67
67 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; 68 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX;
68 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; 69 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
69 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; 70 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[];
70 71
71 #if defined (USE_CUPS) 72 #if defined (USE_CUPS)
72 // Printer color models 73 // Printer color models
73 PRINTING_EXPORT extern const char kBlack[]; 74 PRINTING_EXPORT extern const char kBlack[];
74 PRINTING_EXPORT extern const char kCMYK[]; 75 PRINTING_EXPORT extern const char kCMYK[];
75 PRINTING_EXPORT extern const char kKCMY[]; 76 PRINTING_EXPORT extern const char kKCMY[];
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 139 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
139 NO_MARGINS, 140 NO_MARGINS,
140 PRINTABLE_AREA_MARGINS, 141 PRINTABLE_AREA_MARGINS,
141 CUSTOM_MARGINS, 142 CUSTOM_MARGINS,
142 MARGIN_TYPE_LAST = CUSTOM_MARGINS 143 MARGIN_TYPE_LAST = CUSTOM_MARGINS
143 }; 144 };
144 145
145 } // namespace printing 146 } // namespace printing
146 147
147 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 148 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« no previous file with comments | « printing/backend/win_helper.cc ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698