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

Unified Diff: printing/page_setup.h

Issue 8328001: For no margins, or printable area margins, don't factor in the header/footer size. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: address comment Created 9 years, 2 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 | « no previous file | printing/page_setup.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/page_setup.h
diff --git a/printing/page_setup.h b/printing/page_setup.h
index ef1552d0e73e1f2188a84f3b3721e4173d6a8d21..91734753acaacda210fd2ee5a248a0ad6b4d3f4b 100644
--- a/printing/page_setup.h
+++ b/printing/page_setup.h
@@ -65,8 +65,8 @@ class PRINTING_EXPORT PageSetup {
private:
// Calculate overlay_area_, effective_margins_, and content_area_, based on
- // a constraint of |bounds|.
- void CalculateSizesWithinRect(const gfx::Rect& bounds);
+ // a constraint of |bounds| and |text_height|.
+ void CalculateSizesWithinRect(const gfx::Rect& bounds, int text_height);
// Physical size of the page, including non-printable margins.
gfx::Size physical_size_;
« no previous file with comments | « no previous file | printing/page_setup.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698