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

Unified Diff: printing/print_settings.h

Issue 1701703003: Reland of Cleanup: Remove unused PrintSettings shrink factors. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
« no previous file with comments | « components/printing/test/mock_printer.cc ('k') | printing/print_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings.h
diff --git a/printing/print_settings.h b/printing/print_settings.h
index 08c7d562c8d69b12e2f394b48df7f73a88a33b2f..6c4f8e740281830e29802f59cf2683b1fb33a600 100644
--- a/printing/print_settings.h
+++ b/printing/print_settings.h
@@ -143,10 +143,6 @@
int desired_dpi() const { return desired_dpi_; }
- double max_shrink() const { return max_shrink_; }
-
- double min_shrink() const { return min_shrink_; }
-
// Cookie generator. It is used to initialize PrintedDocument with its
// associated PrintSettings, to be sure that each generated PrintedPage is
// correctly associated with its corresponding PrintedDocument.
@@ -157,19 +153,6 @@
// This permits printing selected pages only.
PageRanges ranges_;
- // By imaging to a width a little wider than the available pixels, thin pages
- // will be scaled down a little, matching the way they print in IE and Camino.
- // This lets them use fewer sheets than they would otherwise, which is
- // presumably why other browsers do this. Wide pages will be scaled down more
- // than this.
- double min_shrink_;
-
- // This number determines how small we are willing to reduce the page content
- // in order to accommodate the widest line. If the page would have to be
- // reduced smaller to make the widest line fit, we just clip instead (this
- // behavior matches MacIE and Mozilla, at least)
- double max_shrink_;
-
// Desired visible dots per inch rendering for output. Printing should be
// scaled to ScreenDpi/dpix*desired_dpi.
int desired_dpi_;
« no previous file with comments | « components/printing/test/mock_printer.cc ('k') | printing/print_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698