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

Side by Side Diff: printing/print_job_constants.h

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 | « chrome/test/data/webui/print_preview.js ('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) 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 #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 26 matching lines...) Expand all
37 PRINTING_EXPORT extern const char kSettingMarginBottom[]; 37 PRINTING_EXPORT extern const char kSettingMarginBottom[];
38 PRINTING_EXPORT extern const char kSettingMarginLeft[]; 38 PRINTING_EXPORT extern const char kSettingMarginLeft[];
39 PRINTING_EXPORT extern const char kSettingMarginRight[]; 39 PRINTING_EXPORT extern const char kSettingMarginRight[];
40 PRINTING_EXPORT extern const char kSettingMarginTop[]; 40 PRINTING_EXPORT extern const char kSettingMarginTop[];
41 PRINTING_EXPORT extern const char kSettingMarginsCustom[]; 41 PRINTING_EXPORT extern const char kSettingMarginsCustom[];
42 PRINTING_EXPORT extern const char kSettingMarginsType[]; 42 PRINTING_EXPORT extern const char kSettingMarginsType[];
43 PRINTING_EXPORT extern const char kSettingPageRange[]; 43 PRINTING_EXPORT extern const char kSettingPageRange[];
44 PRINTING_EXPORT extern const char kSettingPageRangeFrom[]; 44 PRINTING_EXPORT extern const char kSettingPageRangeFrom[];
45 PRINTING_EXPORT extern const char kSettingPageRangeTo[]; 45 PRINTING_EXPORT extern const char kSettingPageRangeTo[];
46 PRINTING_EXPORT extern const char kSettingPreviewModifiable[]; 46 PRINTING_EXPORT extern const char kSettingPreviewModifiable[];
47 PRINTING_EXPORT extern const char kSettingPrintableAreaX[];
48 PRINTING_EXPORT extern const char kSettingPrintableAreaY[];
49 PRINTING_EXPORT extern const char kSettingPrintableAreaWidth[];
50 PRINTING_EXPORT extern const char kSettingPrintableAreaHeight[];
47 PRINTING_EXPORT extern const char kSettingPrinterName[]; 51 PRINTING_EXPORT extern const char kSettingPrinterName[];
48 PRINTING_EXPORT extern const char kSettingPrintToPDF[]; 52 PRINTING_EXPORT extern const char kSettingPrintToPDF[];
49 53
50 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX; 54 PRINTING_EXPORT extern const int FIRST_PAGE_INDEX;
51 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; 55 PRINTING_EXPORT extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
52 56
53 #if defined(OS_MACOSX) 57 #if defined(OS_MACOSX)
54 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[]; 58 PRINTING_EXPORT extern const char kSettingOpenPDFInPreview[];
55 #endif // defined(OS_MACOSX) 59 #endif // defined(OS_MACOSX)
56 60
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
123 enum MarginType { 127 enum MarginType {
124 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not 128 DEFAULT_MARGINS, // Default varies depending on headers being enabled or not
125 NO_MARGINS, 129 NO_MARGINS,
126 PRINTABLE_AREA_MARGINS, 130 PRINTABLE_AREA_MARGINS,
127 CUSTOM_MARGINS, 131 CUSTOM_MARGINS,
128 }; 132 };
129 133
130 } // namespace printing 134 } // namespace printing
131 135
132 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 136 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/test/data/webui/print_preview.js ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698