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

Unified Diff: printing/print_settings.h

Issue 8138020: PrintPreview: Fix printer color settings issues based on printer ppd/schema information. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed review comments Created 9 years, 2 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 | « printing/print_job_constants.cc ('k') | printing/print_settings.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/print_settings.h
diff --git a/printing/print_settings.h b/printing/print_settings.h
index 4e402318eeae81238a7c064da55ab467290c310d..610168452f9bd9c757659e70cc554c619d96efbe 100644
--- a/printing/print_settings.h
+++ b/printing/print_settings.h
@@ -15,6 +15,16 @@
namespace printing {
+// Returns true if color model is selected.
+bool isColorModelSelected(int model);
+
+#if defined (USE_CUPS)
+ // Get the color model setting name and value for the |color_mode|.
+ void GetColorModelForMode(int color_mode,
+ std::string* color_setting_name,
+ std::string* color_value);
+#endif
+
// OS-independent print settings.
class PRINTING_EXPORT PrintSettings {
public:
« no previous file with comments | « printing/print_job_constants.cc ('k') | printing/print_settings.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698