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

Unified Diff: third_party/WebKit/public/web/WebFrame.h

Issue 1817873002: Print with the correct physical dimensions when specified (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@262769
Patch Set: Updated Created 4 years, 9 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
Index: third_party/WebKit/public/web/WebFrame.h
diff --git a/third_party/WebKit/public/web/WebFrame.h b/third_party/WebKit/public/web/WebFrame.h
index 7bc00ff02810046fd6dd5db06bf805eb27875c33..fefee3fdcda9cbf6c94ac2fae9253b3b3d37e319 100644
--- a/third_party/WebKit/public/web/WebFrame.h
+++ b/third_party/WebKit/public/web/WebFrame.h
@@ -483,12 +483,12 @@ public:
virtual int printBegin(const WebPrintParams&, const WebNode& constrainToNode = WebNode()) = 0;
// Returns the page shrinking factor calculated by webkit (usually
- // between 1/1.25 and 1/2). Returns 0 if the page number is invalid or
+ // between 1/1.33 and 1/2). Returns 0 if the page number is invalid or
// not in printing mode.
virtual float getPrintPageShrink(int page) = 0;
// Prints one page, and returns the calculated page shrinking factor
- // (usually between 1/1.25 and 1/2). Returns 0 if the page number is
+ // (usually between 1/1.33 and 1/2). Returns 0 if the page number is
// invalid or not in printing mode.
virtual float printPage(int pageToPrint, WebCanvas*) = 0;

Powered by Google App Engine
This is Rietveld 408576698