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

Unified 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 side-by-side diff with in-line comments
Download patch
Index: printing/print_job_constants.h
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index e877a0129417853afcb285cfc9bd19957d24a876..87afdee690d0ba95cd1465f492fe069c9115f869 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -14,6 +14,13 @@ extern const char kSettingColor[];
extern const char kSettingCopies[];
extern const char kSettingDeviceName[];
extern const char kSettingDuplexMode[];
+extern const char kSettingHeaderFooter[];
+extern const char kSettingHeaderFooterFontName[];
+extern const int kSettingHeaderFooterFontSize;
+extern const float kSettingHeaderFooterHorizontalRegions;
+extern const float kSettingHeaderFooterInterstice;
+extern const char kSettingHeaderFooterTitle[];
+extern const char kSettingHeaderFooterURL[];
extern const char kSettingLandscape[];
extern const char kSettingPageRange[];
extern const char kSettingPageRangeFrom[];
@@ -28,6 +35,19 @@ enum DuplexMode {
SHORT_EDGE,
};
+// 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.
+enum HorizontalHeaderFooterPosition {
+ LEFT,
+ CENTER,
+ RIGHT
+};
+
+// Specifies the vertical alignment of the Headers and Footers.
+enum VerticalHeaderFooterPosition {
+ TOP,
+ BOTTOM
+};
+
} // namespace printing
#endif // PRINTING_PRINT_JOB_CONSTANTS_H_

Powered by Google App Engine
This is Rietveld 408576698