| Index: printing/printing_context.h
|
| diff --git a/printing/printing_context.h b/printing/printing_context.h
|
| index f4ba7ad759d4b7bfb59d12cc2361d05f350ec31f..3bd7ba5cd5ba4f759d60520979a1b5a22c65e52a 100644
|
| --- a/printing/printing_context.h
|
| +++ b/printing/printing_context.h
|
| @@ -51,11 +51,14 @@ class PRINTING_EXPORT PrintingContext {
|
| // default device settings.
|
| virtual Result UseDefaultSettings() = 0;
|
|
|
| - // Updates printer related settings. |job_settings| contains all print job
|
| - // settings information. |ranges| has the new page range settings.
|
| - virtual Result UpdatePrinterSettings(
|
| - const base::DictionaryValue& job_settings,
|
| - const PageRanges& ranges) = 0;
|
| + // Updates printer settings.
|
| + // |pdf_only| 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.
|
| + // |external_preview| is true if pdf is going to be opened in external
|
| + // preview.
|
| + virtual Result UpdatePrinterSettings(bool target_is_pdf,
|
| + bool external_preview) = 0;
|
|
|
| // Updates Print Settings. |job_settings| contains all print job
|
| // settings information. |ranges| has the new page range settings.
|
|
|