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

Unified Diff: printing/print_settings.h

Issue 8226024: Reland 105087: PrintPreview: Fix printer color settings issues based on printer ppd/schema info. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: '' 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..d73fd661041a3665825af62f9a7b2e8a361e717b 100644
--- a/printing/print_settings.h
+++ b/printing/print_settings.h
@@ -11,10 +11,21 @@
#include "base/string16.h"
#include "printing/page_range.h"
#include "printing/page_setup.h"
+#include "printing/printing_export.h"
#include "ui/gfx/rect.h"
namespace printing {
+// Returns true if color model is selected.
+PRINTING_EXPORT bool isColorModelSelected(int model);
+
+#if defined (USE_CUPS)
+ // Get the color model setting name and value for the |color_mode|.
+ PRINTING_EXPORT 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