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

Unified Diff: printing/printing_context.cc

Issue 480303002: Use document from preview for System Dialog printing on Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tue Aug 26 01:11:31 PDT 2014 Created 6 years, 4 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/printing_context.h ('k') | printing/printing_context_android.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printing_context.cc
diff --git a/printing/printing_context.cc b/printing/printing_context.cc
index d2b1e688838f83eb003114360afb409257619b95..352882891cabd60dad4bfd563a3f0aec4878fd49 100644
--- a/printing/printing_context.cc
+++ b/printing/printing_context.cc
@@ -114,7 +114,11 @@ PrintingContext::Result PrintingContext::UpdatePrintSettings(
return OK;
}
- return UpdatePrinterSettings(open_in_external_preview);
+ bool show_system_dialog = false;
+ job_settings.GetBoolean(printing::kSettingShowSystemDialog,
+ &show_system_dialog);
+
+ return UpdatePrinterSettings(open_in_external_preview, show_system_dialog);
}
} // namespace printing
« no previous file with comments | « printing/printing_context.h ('k') | printing/printing_context_android.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698