diff options
Diffstat (limited to 'src/core/print_view_manager_qt.h')
-rw-r--r-- | src/core/print_view_manager_qt.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/print_view_manager_qt.h b/src/core/print_view_manager_qt.h index 2eceaa588..654608ddd 100644 --- a/src/core/print_view_manager_qt.h +++ b/src/core/print_view_manager_qt.h @@ -93,6 +93,7 @@ public: const PrintToPDFFileCallback& callback); void PrintToPDFWithCallback(const QPageLayout &pageLayout, bool printInColor, + bool useCustomMargins, const PrintToPDFCallback &callback); #endif // ENABLE_BASIC_PRINTING @@ -118,7 +119,7 @@ protected: void OnMetafileReadyForPrinting(const PrintHostMsg_DidPreviewDocument_Params& params); #if BUILDFLAG(ENABLE_BASIC_PRINTING) - bool PrintToPDFInternal(const QPageLayout &, bool printInColor); + bool PrintToPDFInternal(const QPageLayout &, bool printInColor, bool useCustomMargins = true); #endif // BUILDFLAG(ENABLE_BASIC_PRINTING) base::FilePath m_pdfOutputPath; |