summaryrefslogtreecommitdiffstats
path: root/printing/print_settings_initializer_gtk.h
diff options
context:
space:
mode:
authorthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 19:54:10 +0000
committerthestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-15 19:54:10 +0000
commit2896dccc7a66c857f53f297d9ae9790b242a0e92 (patch)
treec99db90b743a12416d329403c9b6752c624b780c /printing/print_settings_initializer_gtk.h
parenta01d93551393e886430385e641b2bd80ef3ba913 (diff)
downloadchromium_src-2896dccc7a66c857f53f297d9ae9790b242a0e92.zip
chromium_src-2896dccc7a66c857f53f297d9ae9790b242a0e92.tar.gz
chromium_src-2896dccc7a66c857f53f297d9ae9790b242a0e92.tar.bz2
Printing: Move the default margin constants out of PdfPsMetafile.
BUG=none TEST=none Review URL: http://codereview.chromium.org/6694005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78266 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_settings_initializer_gtk.h')
-rw-r--r--printing/print_settings_initializer_gtk.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/printing/print_settings_initializer_gtk.h b/printing/print_settings_initializer_gtk.h
index 6dd3930..7ac252b 100644
--- a/printing/print_settings_initializer_gtk.h
+++ b/printing/print_settings_initializer_gtk.h
@@ -24,6 +24,13 @@ class PrintSettingsInitializerGtk {
bool print_selection_only,
PrintSettings* print_settings);
+ // The default margins, in points. These values are based on 72 dpi,
+ // with 0.25 margins on top, left, and right, and 0.56 on bottom.
+ static const double kTopMarginInInch;
+ static const double kRightMarginInInch;
+ static const double kBottomMarginInInch;
+ static const double kLeftMarginInInch;
+
private:
DISALLOW_IMPLICIT_CONSTRUCTORS(PrintSettingsInitializerGtk);
};