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

Unified Diff: printing/print_job_constants.cc

Issue 2795453002: Use DPI from Print Preview on Windows, handle non square (Closed)
Patch Set: Address comments Created 3 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
« no previous file with comments | « printing/print_job_constants.h ('k') | printing/print_settings.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_job_constants.cc
diff --git a/printing/print_job_constants.cc b/printing/print_job_constants.cc
index a613d8e0aff04c104c5b8ec1bb3c3d78ed31f6c1..c0b4935e865a14d4f108cd905d8369d9ffd061bc 100644
--- a/printing/print_job_constants.cc
+++ b/printing/print_job_constants.cc
@@ -56,6 +56,12 @@ const char kSettingDeviceName[] = "deviceName";
// Option to disable scaling. True if scaling is disabled else false.
const char kSettingDisableScaling[] = "disableScaling";
+// Horizontal DPI
+const char kSettingDpiHorizontal[] = "dpiHorizontal";
+
+// Vertical DPI
+const char kSettingDpiVertical[] = "dpiVertical";
+
// Scaling value required to fit the document to page.
const char kSettingFitToPageScaling[] = "fitToPageScaling";
« no previous file with comments | « printing/print_job_constants.h ('k') | printing/print_settings.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698