diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-12 14:27:29 +0200 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2020-10-13 09:35:20 +0000 |
commit | c30a6232df03e1efbd9f3b226777b07e087a1122 (patch) | |
tree | e992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/components/printing/common/print_messages.cc | |
parent | 7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff) | |
download | qtwebengine-chromium-85-based.tar.gz |
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/components/printing/common/print_messages.cc')
-rw-r--r-- | chromium/components/printing/common/print_messages.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/chromium/components/printing/common/print_messages.cc b/chromium/components/printing/common/print_messages.cc index 46b965863e5..1ae067c5268 100644 --- a/chromium/components/printing/common/print_messages.cc +++ b/chromium/components/printing/common/print_messages.cc @@ -66,6 +66,7 @@ namespace IPC { PrintMsg_Print_Params::PrintMsg_Print_Params() : margin_top(0), margin_left(0), + page_orientation(printing::mojom::PageOrientation::kUpright), scale_factor(1.0f), rasterize_pdf(false), document_cookie(0), @@ -74,11 +75,11 @@ PrintMsg_Print_Params::PrintMsg_Print_Params() preview_ui_id(-1), preview_request_id(0), is_first_request(false), - print_scaling_option(blink::kWebPrintScalingOptionSourceSize), + print_scaling_option(printing::mojom::PrintScalingOption::kSourceSize), print_to_pdf(false), display_header_footer(false), should_print_backgrounds(false), - printed_doc_type(printing::SkiaDocumentType::PDF), + printed_doc_type(printing::mojom::SkiaDocumentType::kPDF), prefer_css_page_size(false), pages_per_sheet(1) {} @@ -93,6 +94,7 @@ void PrintMsg_Print_Params::Reset() { printable_area = gfx::Rect(); margin_top = 0; margin_left = 0; + page_orientation = printing::mojom::PageOrientation::kUpright; dpi = gfx::Size(); scale_factor = 1.0f; rasterize_pdf = false; @@ -102,7 +104,7 @@ void PrintMsg_Print_Params::Reset() { preview_ui_id = -1; preview_request_id = 0; is_first_request = false; - print_scaling_option = blink::kWebPrintScalingOptionSourceSize; + print_scaling_option = printing::mojom::PrintScalingOption::kSourceSize; print_to_pdf = false; display_header_footer = false; title = base::string16(); @@ -110,7 +112,7 @@ void PrintMsg_Print_Params::Reset() { header_template = base::string16(); footer_template = base::string16(); should_print_backgrounds = false; - printed_doc_type = printing::SkiaDocumentType::PDF; + printed_doc_type = printing::mojom::SkiaDocumentType::kPDF; prefer_css_page_size = false; pages_per_sheet = 1; } |