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

Side by Side Diff: printing/print_job_constants.h

Issue 11818062: Adds option to enable CSS backgrounds for printing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Merge with trunk. Created 7 years, 11 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
« no previous file with comments | « chrome/renderer/print_web_view_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 29 matching lines...) Expand all
40 PRINTING_EXPORT extern const char kSettingPageRange[]; 40 PRINTING_EXPORT extern const char kSettingPageRange[];
41 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; 41 PRINTING_EXPORT extern const char kSettingPageRangeFrom[];
42 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; 42 PRINTING_EXPORT extern const char kSettingPageRangeTo[];
43 PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; 43 PRINTING_EXPORT extern const char kSettingPreviewModifiable[];
44 PRINTING_EXPORT extern const char kSettingPrintableAreaX[]; 44 PRINTING_EXPORT extern const char kSettingPrintableAreaX[];
45 PRINTING_EXPORT extern const char kSettingPrintableAreaY[]; 45 PRINTING_EXPORT extern const char kSettingPrintableAreaY[];
46 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[]; 46 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[];
47 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[]; 47 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[];
48 PRINTING_EXPORT extern const char kSettingPrinterName[]; 48 PRINTING_EXPORT extern const char kSettingPrinterName[];
49 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; 49 PRINTING_EXPORT extern const char kSettingPrintToPDF[];
50 PRINTING_EXPORT extern const char kSettingShouldPrintBackgrounds[];
50 51
51 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; 52 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX;
52 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; 53 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
53 54
54 #if defined(OS_MACOSX) 55 #if defined(OS_MACOSX)
55 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; 56 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[];
56 #endif // defined(OS_MACOSX) 57 #endif // defined(OS_MACOSX)
57 58
58 #if defined (USE_CUPS) 59 #if defined (USE_CUPS)
59 // Printer color models 60 // Printer color models
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 enum MarginType { 125 enum MarginType {
125 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 126 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
126 NO_MARGINS, 127 NO_MARGINS,
127 PRINTABLE_AREA_MARGINS, 128 PRINTABLE_AREA_MARGINS,
128 CUSTOM_MARGINS, 129 CUSTOM_MARGINS,
129 }; 130 };
130 131
131 } // namespace printing 132 } // namespace printing
132 133
133 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 134 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper.cc ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698