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

Side by Side Diff: printing/print_job_constants.h

Issue 7670045: Revert 97219 - Added Header and Footer support in Linux, Windows and Mac for Skia (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 4 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/renderer/print_web_view_helper_win.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) 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 kIsFirstRequest[]; 10 extern const char kIsFirstRequest[];
11 extern const char kPreviewRequestID[]; 11 extern const char kPreviewRequestID[];
12 extern const char kSettingCloudPrintId[]; 12 extern const char kSettingCloudPrintId[];
13 extern const char kSettingCollate[]; 13 extern const char kSettingCollate[];
14 extern const char kSettingColor[]; 14 extern const char kSettingColor[];
15 extern const char kSettingCopies[]; 15 extern const char kSettingCopies[];
16 extern const char kSettingDeviceName[]; 16 extern const char kSettingDeviceName[];
17 extern const char kSettingDuplexMode[]; 17 extern const char kSettingDuplexMode[];
18 extern const char kSettingHeaderFooterEnabled[];
19 extern const char kSettingHeaderFooterFontFamilyName[];
20 extern const char kSettingHeaderFooterFontName[];
21 extern const int kSettingHeaderFooterFontSize;
22 extern const float kSettingHeaderFooterHorizontalRegions;
23 extern const float kSettingHeaderFooterInterstice;
24 extern const char kSettingHeaderFooterDate[];
25 extern const char kSettingHeaderFooterTitle[];
26 extern const char kSettingHeaderFooterURL[];
27 extern const char kSettingLandscape[]; 18 extern const char kSettingLandscape[];
28 extern const char kSettingPageRange[]; 19 extern const char kSettingPageRange[];
29 extern const char kSettingPageRangeFrom[]; 20 extern const char kSettingPageRangeFrom[];
30 extern const char kSettingPageRangeTo[]; 21 extern const char kSettingPageRangeTo[];
31 extern const char kSettingPrinterName[]; 22 extern const char kSettingPrinterName[];
32 extern const char kSettingPrintToPDF[]; 23 extern const char kSettingPrintToPDF[];
33 24
34 extern const int FIRST_PAGE_INDEX; 25 extern const int FIRST_PAGE_INDEX;
35 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX; 26 extern const int COMPLETE_PREVIEW_DOCUMENT_INDEX;
36 extern const int INVALID_PAGE_INDEX; 27 extern const int INVALID_PAGE_INDEX;
37 28
38 // Print job duplex mode values. 29 // Print job duplex mode values.
39 enum DuplexMode { 30 enum DuplexMode {
40 SIMPLEX, 31 SIMPLEX,
41 LONG_EDGE, 32 LONG_EDGE,
42 SHORT_EDGE, 33 SHORT_EDGE,
43 }; 34 };
44 35
45 // Specifies the horizontal alignment of the headers and footers.
46 enum HorizontalHeaderFooterPosition {
47 LEFT,
48 CENTER,
49 RIGHT
50 };
51
52 // Specifies the vertical alignment of the Headers and Footers.
53 enum VerticalHeaderFooterPosition {
54 TOP,
55 BOTTOM
56 };
57
58 } // namespace printing 36 } // namespace printing
59 37
60 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_ 38 #endif // PRINTING_PRINT_JOB_CONSTANTS_H_
OLDNEW
« no previous file with comments | « chrome/renderer/print_web_view_helper_win.cc ('k') | printing/print_job_constants.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698