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

Side by Side Diff: printing/print_job_constants.h

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Custom length strings being printed Created 9 years, 5 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
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 namespace printing { 8 namespace printing {
9 9
10 extern const char kPreviewRequestID[]; 10 extern const char kPreviewRequestID[];
11 extern const char kSettingCloudPrintId[]; 11 extern const char kSettingCloudPrintId[];
12 extern const char kSettingCollate[]; 12 extern const char kSettingCollate[];
13 extern const char kSettingColor[]; 13 extern const char kSettingColor[];
14 extern const char kSettingCopies[]; 14 extern const char kSettingCopies[];
15 extern const char kSettingDeviceName[]; 15 extern const char kSettingDeviceName[];
16 extern const char kSettingDuplexMode[]; 16 extern const char kSettingDuplexMode[];
17 extern const char kSettingHeaderFooter[];
18 extern const int kSettingHeaderFooterFontSize;
19 extern const float kSettingHeaderFooterHorizontalRegions;
20 extern const float kSettingHeaderFooterInterstice;
21 extern const char kSettingHeaderFooterTitle[];
22 extern const char kSettingHeaderFooterURL[];
17 extern const char kSettingLandscape[]; 23 extern const char kSettingLandscape[];
18 extern const char kSettingPageRange[]; 24 extern const char kSettingPageRange[];
19 extern const char kSettingPageRangeFrom[]; 25 extern const char kSettingPageRangeFrom[];
20 extern const char kSettingPageRangeTo[]; 26 extern const char kSettingPageRangeTo[];
21 extern const char kSettingPrinterName[]; 27 extern const char kSettingPrinterName[];
22 extern const char kSettingPrintToPDF[]; 28 extern const char kSettingPrintToPDF[];
23 29
24 // Print job duplex mode values. 30 // Print job duplex mode values.
25 enum DuplexMode { 31 enum DuplexMode {
26 SIMPLEX, 32 SIMPLEX,
27 LONG_EDGE, 33 LONG_EDGE,
28 SHORT_EDGE, 34 SHORT_EDGE,
29 }; 35 };
30 36
37 // Specifies the horizontal alignment of the Headers and Footers.
38 enum HorizontalHeaderFooterPosition {
39 LEFT,
40 CENTER,
41 RIGHT
42 };
43
44 // Specifies the vertical alignment of the Headers and Footers.
45 enum VerticalHeaderFooterPosition {
46 TOP,
47 BOTTOM
48 };
49
31 } // namespace printing 50 } // namespace printing
32 51
33 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 52 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698