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

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: Removed header_footer_info param from IPC call. 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 char kSettingHeaderFooterFontName[];
19 extern const int kSettingHeaderFooterFontSize;
20 extern const float kSettingHeaderFooterHorizontalRegions;
21 extern const float kSettingHeaderFooterInterstice;
22 extern const char kSettingHeaderFooterTitle[];
23 extern const char kSettingHeaderFooterURL[];
17 extern const char kSettingLandscape[]; 24 extern const char kSettingLandscape[];
18 extern const char kSettingPageRange[]; 25 extern const char kSettingPageRange[];
19 extern const char kSettingPageRangeFrom[]; 26 extern const char kSettingPageRangeFrom[];
20 extern const char kSettingPageRangeTo[]; 27 extern const char kSettingPageRangeTo[];
21 extern const char kSettingPrinterName[]; 28 extern const char kSettingPrinterName[];
22 extern const char kSettingPrintToPDF[]; 29 extern const char kSettingPrintToPDF[];
23 30
24 // Print job duplex mode values. 31 // Print job duplex mode values.
25 enum DuplexMode { 32 enum DuplexMode {
26 SIMPLEX, 33 SIMPLEX,
27 LONG_EDGE, 34 LONG_EDGE,
28 SHORT_EDGE, 35 SHORT_EDGE,
29 }; 36 };
30 37
38 // Specifies the horizontal alignment of the Headers and Footers.
Chris Guillory 2011/07/26 00:10:45 Headers and Footers -> headers and footers. Here a
Aayush Kumar 2011/07/26 01:55:41 Done.
39 enum HorizontalHeaderFooterPosition {
40 LEFT,
41 CENTER,
42 RIGHT
43 };
44
45 // Specifies the vertical alignment of the Headers and Footers.
46 enum VerticalHeaderFooterPosition {
47 TOP,
48 BOTTOM
49 };
50
31 } // namespace printing 51 } // namespace printing
32 52
33 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 53 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698