| Index: printing/printing_context_mac.h
|
| diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
|
| index 9257510807ef5f3a8a44e601d0608b64f84ecb6e..f16ef545e7c7d24a7d16b73124fe2c29d2aa9f60 100644
|
| --- a/printing/printing_context_mac.h
|
| +++ b/printing/printing_context_mac.h
|
| @@ -54,13 +54,18 @@ class PRINTING_EXPORT PrintingContextMac : public PrintingContext {
|
| PageRanges GetPageRangesFromPrintInfo();
|
|
|
| // Updates |print_info_| to use the given printer.
|
| - // Returns true if the printer was set else returns false.
|
| + // Returns true if the printer was set.
|
| bool SetPrinter(const std::string& device_name);
|
|
|
| - // Updates |print_info_| page format with user default paper information.
|
| - // Returns true if the paper was set else returns false.
|
| + // Updates |print_info_| page format with paper selected by user. If paper was
|
| + // not selected, default system paper is used.
|
| + // Returns true if the paper was set.
|
| bool UpdatePageFormatWithPaperInfo();
|
|
|
| + // Updates |print_info_| page format with |paper|.
|
| + // Returns true if the paper was set.
|
| + bool UpdatePageFormatWithPaper(PMPaper paper, PMPageFormat page_format);
|
| +
|
| // Sets the print job destination type as preview job.
|
| // Returns true if the print job destination type is set.
|
| bool SetPrintPreviewJob();
|
|
|