diff options
author | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 20:21:07 +0000 |
---|---|---|
committer | kmadhusu@chromium.org <kmadhusu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-09-08 20:21:07 +0000 |
commit | d33ed29955ac8892231bccbe80c8464803ba0bc5 (patch) | |
tree | 44925d32197c2ba9e4380a459f9f4b1380a88277 /printing/printing_context_win.cc | |
parent | 7e86d8b41a4b8740732a45c1d4bc444ae6a2cc49 (diff) | |
download | chromium_src-d33ed29955ac8892231bccbe80c8464803ba0bc5.zip chromium_src-d33ed29955ac8892231bccbe80c8464803ba0bc5.tar.gz chromium_src-d33ed29955ac8892231bccbe80c8464803ba0bc5.tar.bz2 |
Revert 100233 - PrintPreview: Added code to identify the printer default duplex value.
Added code to identify the printer default duplex value. If we are
unable to get the default value, hide the two sided option in the preview tab.
BUG=89204
TEST=Please refer to bug description.
Review URL: http://codereview.chromium.org/7817013
TBR=kmadhusu@chromium.org
Review URL: http://codereview.chromium.org/7828106
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@100234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/printing_context_win.cc')
-rw-r--r-- | printing/printing_context_win.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/printing/printing_context_win.cc b/printing/printing_context_win.cc index c467457..a098a66 100644 --- a/printing/printing_context_win.cc +++ b/printing/printing_context_win.cc @@ -383,11 +383,9 @@ PrintingContext::Result PrintingContextWin::UpdatePrinterSettings( case SHORT_EDGE: dev_mode->dmDuplex = DMDUP_HORIZONTAL; break; - case SIMPLEX: + default: // simplex dev_mode->dmDuplex = DMDUP_SIMPLEX; break; - default: // UNKNOWN_DUPLEX_MODE - break; } dev_mode->dmOrientation = landscape ? DMORIENT_LANDSCAPE : DMORIENT_PORTRAIT; |