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

Unified Diff: printing/print_dialog_gtk_interface.h

Issue 46623002: Move settings setup for PDF and cloud print into single location in PrintingContext (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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: printing/print_dialog_gtk_interface.h
diff --git a/printing/print_dialog_gtk_interface.h b/printing/print_dialog_gtk_interface.h
index 3b3fcddb9b6bb34b9b507689635bcb980e74f35d..e3506dd93590ea874bb5161bb421bc4d827093d1 100644
--- a/printing/print_dialog_gtk_interface.h
+++ b/printing/print_dialog_gtk_interface.h
@@ -24,11 +24,7 @@ class PrintDialogGtkInterface {
// Updates the dialog to use |settings|. Only used when printing without the
// system print dialog. E.g. for Print Preview. Returns false on error.
- // |target_is_pdf| is true if implementation needs to generate PDF without
- // actual printing. In this case implementation may avoid setup of native
- // print system. Ex. "save to pdf" or Cloud Print.
- virtual bool UpdateSettings(bool target_is_pdf,
- PrintSettings* settings) = 0;
+ virtual bool UpdateSettings(PrintSettings* settings) = 0;
// Shows the dialog and handles the response with |callback|. Only used when
// printing with the native print dialog.

Powered by Google App Engine
This is Rietveld 408576698