PrintPreview: [MAC] Set the color setting in print ticket.
BUG=none
TEST= Enable print preview on mac. Preview any webpage. Change the color setting. Press the print button. Observe the color in printed output page.
Review URL: http://codereview.chromium.org/6821052
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@81286 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
index 0979b18..90be22bc 100644
--- a/printing/printing_context_mac.h
+++ b/printing/printing_context_mac.h
@@ -67,6 +67,10 @@
// Returns true if duplex mode is set.
bool SetDuplexModeIsTwoSided(bool two_sided);
+ // Sets output color mode in PMPrintSettings.
+ // Returns true if color mode is set.
+ bool SetOutputIsColor(bool color);
+
// The native print info object.
scoped_nsobject<NSPrintInfo> print_info_;