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

Unified Diff: printing/print_job_constants.cc

Issue 7348010: Added Header and Footer support using Skia (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added Headers and Footers support - New Snapshot Uploaded 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.cc
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index d8eb0ce3c2b99d4ce32bc794c7adb4d4243496f7..d1d72c1fa58e118653d8c40f6580a7eeb9ad142f 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -39,4 +39,15 @@ const char kSettingPrinterName[] = "printerName";
// Print to PDF option: true if selected, false if not.
const char kSettingPrintToPDF[] = "printToPDF";
+// Option to print Headers and Footers: true if selected, false if not.
+const char kSettingHeaderFooter[] = "headerFooter";
+
+// Key that specifies the title of the page that will be printed in the headers
+// and footers
+extern const char kSettingHeaderFooterTitle[] = "title";
+
+// Key that specifies the URL of the page that will be printed in the headers
+// and footers
+extern const char kSettingHeaderFooterURL[] = "url";
+
} // namespace printing

Powered by Google App Engine
This is Rietveld 408576698