summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoone.hur <joone.hur@intel.com>2016-03-01 00:35:23 -0800
committerCommit bot <commit-bot@chromium.org>2016-03-01 08:36:48 +0000
commit66b2619883aad9c11bb00787e33cc53df7036f1f (patch)
tree3bc6dd95d406eb5c24216a2c0dc601d44447f6ca
parentbe14bc87cfc3f222792e75191f90e25e29696840 (diff)
downloadchromium_src-66b2619883aad9c11bb00787e33cc53df7036f1f.zip
chromium_src-66b2619883aad9c11bb00787e33cc53df7036f1f.tar.gz
chromium_src-66b2619883aad9c11bb00787e33cc53df7036f1f.tar.bz2
Include CUPS Duplex attribute and values in USE_CUPS guard.
These values are only used in USE_CUPS guard. BUG= Review URL: https://codereview.chromium.org/1745393003 Cr-Commit-Position: refs/heads/master@{#378416}
-rw-r--r--chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
index d24b8e2..2b3fce8 100644
--- a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
+++ b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc
@@ -33,11 +33,13 @@ using printing::PrintSettings;
namespace {
+#if defined(USE_CUPS)
// CUPS Duplex attribute and values.
const char kCUPSDuplex[] = "cups-Duplex";
const char kDuplexNone[] = "None";
const char kDuplexTumble[] = "DuplexTumble";
const char kDuplexNoTumble[] = "DuplexNoTumble";
+#endif
int kPaperSizeTresholdMicrons = 100;
int kMicronsInMm = 1000;