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

Unified Diff: chrome/browser/printing/print_dialog_cloud.cc

Issue 8585017: PrintPreview: Honor the print media page size and margin values. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: refactoring++ Created 9 years, 1 month 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: chrome/browser/printing/print_dialog_cloud.cc
diff --git a/chrome/browser/printing/print_dialog_cloud.cc b/chrome/browser/printing/print_dialog_cloud.cc
index 6b94c24cfd64a31a5cbd394a6ccdc95ad1f5466b..81b4938485b3441a68468ba11f198e1f6ebd5f12 100644
--- a/chrome/browser/printing/print_dialog_cloud.cc
+++ b/chrome/browser/printing/print_dialog_cloud.cc
@@ -413,6 +413,7 @@ void CloudPrintFlowHandler::HandleSetPageParameters(const ListValue* args) {
default_settings.selection_only = false;
default_settings.preview_request_id = 0;
default_settings.is_first_request = true;
+ default_settings.print_to_pdf = false;
if (!GetPageSetupParameters(json, default_settings)) {
NOTREACHED();
« no previous file with comments | « no previous file | chrome/browser/printing/print_preview_message_handler.h » ('j') | chrome/renderer/print_web_view_helper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698