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

Side by Side 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 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 #include "printing/print_job_constants.h" 5 #include "printing/print_job_constants.h"
6 6
7 namespace printing { 7 namespace printing {
8 8
9 // Print job setting 'collate'. 9 // Print job setting 'collate'.
10 const char kSettingCollate[] = "collate"; 10 const char kSettingCollate[] = "collate";
(...skipping 21 matching lines...) Expand all
32 32
33 // The last page of a page range. (1-based) 33 // The last page of a page range. (1-based)
34 const char kSettingPageRangeTo[] = "to"; 34 const char kSettingPageRangeTo[] = "to";
35 35
36 // Printer name. 36 // Printer name.
37 const char kSettingPrinterName[] = "printerName"; 37 const char kSettingPrinterName[] = "printerName";
38 38
39 // Print to PDF option: true if selected, false if not. 39 // Print to PDF option: true if selected, false if not.
40 const char kSettingPrintToPDF[] = "printToPDF"; 40 const char kSettingPrintToPDF[] = "printToPDF";
41 41
42 // Option to print Headers and Footers: true if selected, false if not.
43 const char kSettingHeaderFooter[] = "headerFooter";
44
45 // Key that specifies the title of the page that will be printed in the headers
46 // and footers
47 extern const char kSettingHeaderFooterTitle[] = "title";
48
49 // Key that specifies the URL of the page that will be printed in the headers
50 // and footers
51 extern const char kSettingHeaderFooterURL[] = "url";
52
42 } // namespace printing 53 } // namespace printing
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698