Index: printing/printing_context_mac.h |
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h |
index 9257510807ef5f3a8a44e601d0608b64f84ecb6e..b7d40fa150f716fe6d435ae0c5e348d69006e3d6 100644 |
--- a/printing/printing_context_mac.h |
+++ b/printing/printing_context_mac.h |
@@ -57,10 +57,15 @@ class PRINTING_EXPORT PrintingContextMac : public PrintingContext { |
// Returns true if the printer was set else returns false. |
bool SetPrinter(const std::string& device_name); |
- // Updates |print_info_| page format with user default paper information. |
+ // 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 else returns false. |
bool UpdatePageFormatWithPaperInfo(); |
+ // Updates |print_info_| page format with |paper|. |
+ // Returns true if the paper was set else returns false. |
Aleksey Shlyapnikov
2014/06/19 02:13:08
else -> otherwise
Vitaly Buka (NO REVIEWS)
2014/06/19 17:44:38
Done.
|
+ 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(); |