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

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: '' 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
Index: printing/printing_context_mac.h
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
index 160fdfd2262a5e08ba0ddc5cee24be65ad0fd257..39006909f272c5e1b92c2d3d9b7dad5e768cf2aa 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);

Powered by Google App Engine
This is Rietveld 408576698