summaryrefslogtreecommitdiffstats
path: root/printing
diff options
context:
space:
mode:
Diffstat (limited to 'printing')
-rw-r--r--printing/print_job_constants.h7
-rw-r--r--printing/printing_context.h7
-rw-r--r--printing/printing_context_mac.h1
-rw-r--r--printing/printing_context_mac.mm1
4 files changed, 8 insertions, 8 deletions
diff --git a/printing/print_job_constants.h b/printing/print_job_constants.h
index 1005ca3..5fe4bc6 100644
--- a/printing/print_job_constants.h
+++ b/printing/print_job_constants.h
@@ -18,6 +18,13 @@ extern const char kSettingPageRangeTo[];
extern const char kSettingPrinterName[];
extern const char kSettingPrintToPDF[];
+// Print job duplex mode values.
+enum DuplexMode {
+ SIMPLEX,
+ LONG_EDGE,
+ SHORT_EDGE,
+};
+
} // namespace printing
#endif // PRINTING_PRINT_JOB_CONSTANTS_H_
diff --git a/printing/printing_context.h b/printing/printing_context.h
index 77ac844..c4e2094 100644
--- a/printing/printing_context.h
+++ b/printing/printing_context.h
@@ -99,13 +99,6 @@ class PrintingContext {
}
protected:
- // Print job duplex mode values.
- enum DuplexMode {
- SIMPLEX,
- LONG_EDGE,
- SHORT_EDGE,
- };
-
explicit PrintingContext(const std::string& app_locale);
// Reinitializes the settings for object reuse.
diff --git a/printing/printing_context_mac.h b/printing/printing_context_mac.h
index 3005602..ef7e75c 100644
--- a/printing/printing_context_mac.h
+++ b/printing/printing_context_mac.h
@@ -9,6 +9,7 @@
#include "base/memory/scoped_nsobject.h"
#include "printing/printing_context.h"
+#include "printing/print_job_constants.h"
#ifdef __OBJC__
@class NSPrintInfo;
diff --git a/printing/printing_context_mac.mm b/printing/printing_context_mac.mm
index 755069a..cb60f9f 100644
--- a/printing/printing_context_mac.mm
+++ b/printing/printing_context_mac.mm
@@ -11,7 +11,6 @@
#include "base/mac/scoped_cftyperef.h"
#include "base/sys_string_conversions.h"
#include "base/values.h"
-#include "printing/print_job_constants.h"
#include "printing/print_settings_initializer_mac.h"
static const CFStringRef kColorModel = CFSTR("ColorModel");