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

Unified Diff: printing/printing_context_mac.h

Issue 8425008: PrintPreview:[MAC] Added "Open PDF In Preview" option to open the pdf in native preview app. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Added a check to fix the TestErrorMessage unit test Created 9 years, 1 month 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 | « printing/print_job_constants.cc ('k') | printing/printing_context_mac.mm » ('j') | no next file with comments »
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 e44c118abe2db10f45a4dd5305372498d85d5696..e9cad8f3088411d7677d41fcac2d7898d6e40c2f 100644
--- a/printing/printing_context_mac.h
+++ b/printing/printing_context_mac.h
@@ -61,6 +61,10 @@ class PRINTING_EXPORT PrintingContextMac : public PrintingContext {
// Returns true if the paper was set else returns false.
bool UpdatePageFormatWithPaperInfo();
+ // Sets the print job destination type as preview job.
+ // Returns true if the print job destination type is set.
+ bool SetPrintPreviewJob();
+
// Sets |copies| in PMPrintSettings.
// Returns true if the number of copies is set.
bool SetCopiesInPrintSettings(int copies);
« no previous file with comments | « printing/print_job_constants.cc ('k') | printing/printing_context_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698