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

Unified Diff: printing/printing_context_mac.h

Issue 345493003: Apply paper size selection for local printers on OSX. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Wed 06/18/2014 17:38:32.02 Created 6 years, 6 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
« no previous file with comments | « no previous file | printing/printing_context_mac.mm » ('j') | printing/printing_context_mac.mm » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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();
« no previous file with comments | « no previous file | printing/printing_context_mac.mm » ('j') | printing/printing_context_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698