Index: printing/units.cc |
=================================================================== |
--- printing/units.cc (revision 97225) |
+++ printing/units.cc (working copy) |
@@ -5,7 +5,6 @@ |
#include "printing/units.h" |
#include "base/logging.h" |
-#include "printing/print_job_constants.h" |
namespace printing { |
@@ -48,18 +47,4 @@ |
return ConvertUnitDouble(pixels, kPixelsPerInch, kPointsPerInch); |
} |
-double ConvertPointsToPixelDouble(double points) { |
- return ConvertUnitDouble(points, kPointsPerInch, kPixelsPerInch); |
-} |
- |
-double GetHeaderFooterSegmentWidth(double page_width) { |
- // Interstice is left at both ends of the page as well as between |
- // each region, so 1 is added. |
- double total_interstice_width = |
- (printing::kSettingHeaderFooterHorizontalRegions + 1) * |
- printing::kSettingHeaderFooterInterstice; |
- return (page_width - total_interstice_width) / |
- printing::kSettingHeaderFooterHorizontalRegions; |
-} |
- |
} // namespace printing |