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

Unified Diff: chrome/common/print_messages.cc

Issue 10083059: [Print Preview] Modified PP_PrintSettings_Dev interface to support auto fit to page functionality. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' Created 8 years, 8 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: chrome/common/print_messages.cc
diff --git a/chrome/common/print_messages.cc b/chrome/common/print_messages.cc
index a0656e4c45df9661b5d7a3983f4a12cc61ae9069..f52ddda7d2aa24da7b7930f641126b3ad17631dc 100644
--- a/chrome/common/print_messages.cc
+++ b/chrome/common/print_messages.cc
@@ -24,6 +24,7 @@ PrintMsg_Print_Params::PrintMsg_Print_Params()
preview_ui_addr(),
preview_request_id(0),
is_first_request(false),
+ fit_pdf_page_to_paper_size(true),
print_to_pdf(false),
display_header_footer(false),
date(),
@@ -49,6 +50,7 @@ void PrintMsg_Print_Params::Reset() {
preview_ui_addr = std::string();
preview_request_id = 0;
is_first_request = false;
+ fit_pdf_page_to_paper_size = true;
print_to_pdf = false;
display_header_footer = false;
date = string16();

Powered by Google App Engine
This is Rietveld 408576698