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

Side by Side Diff: printing/printing_context_mac.h

Issue 7826040: PrintPreview: Fixed RICOH MP C3501 color print job issues. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed nits Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « printing/print_job_constants.h ('k') | printing/printing_context_mac.mm » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef PRINTING_PRINTING_CONTEXT_MAC_H_ 5 #ifndef PRINTING_PRINTING_CONTEXT_MAC_H_
6 #define PRINTING_PRINTING_CONTEXT_MAC_H_ 6 #define PRINTING_PRINTING_CONTEXT_MAC_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/memory/scoped_nsobject.h" 10 #include "base/memory/scoped_nsobject.h"
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
68 // Sets orientation in native print info object. 68 // Sets orientation in native print info object.
69 // Returns true if the orientation was set. 69 // Returns true if the orientation was set.
70 bool SetOrientationIsLandscape(bool landscape); 70 bool SetOrientationIsLandscape(bool landscape);
71 71
72 // Sets duplex mode in PMPrintSettings. 72 // Sets duplex mode in PMPrintSettings.
73 // Returns true if duplex mode is set. 73 // Returns true if duplex mode is set.
74 bool SetDuplexModeInPrintSettings(DuplexMode mode); 74 bool SetDuplexModeInPrintSettings(DuplexMode mode);
75 75
76 // Sets output color mode in PMPrintSettings. 76 // Sets output color mode in PMPrintSettings.
77 // Returns true if color mode is set. 77 // Returns true if color mode is set.
78 bool SetOutputIsColor(bool color); 78 bool SetOutputColor(int color_mode);
79 79
80 // The native print info object. 80 // The native print info object.
81 scoped_nsobject<NSPrintInfo> print_info_; 81 scoped_nsobject<NSPrintInfo> print_info_;
82 82
83 // The current page's context; only valid between NewPage and PageDone call 83 // The current page's context; only valid between NewPage and PageDone call
84 // pairs. 84 // pairs.
85 CGContext* context_; 85 CGContext* context_;
86 86
87 DISALLOW_COPY_AND_ASSIGN(PrintingContextMac); 87 DISALLOW_COPY_AND_ASSIGN(PrintingContextMac);
88 }; 88 };
89 89
90 } // namespace printing 90 } // namespace printing
91 91
92 #endif // PRINTING_PRINTING_CONTEXT_MAC_H_ 92 #endif // PRINTING_PRINTING_CONTEXT_MAC_H_
OLDNEW
« no previous file with comments | « printing/print_job_constants.h ('k') | printing/printing_context_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698