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

Issue 10560021: Mac printing: Autorotate printed pages so their orientation is the same as the destination page. (Closed)

Created:
8 years, 6 months ago by Lei Zhang
Modified:
8 years, 6 months ago
Reviewers:
kmadhusu
CC:
chromium-reviews
Visibility:
Public.

Description

Mac printing: Autorotate printed pages so their orientation is the same as the destination page. BUG=93303, 132922 TEST=manual Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=142824

Patch Set 1 #

Total comments: 6

Patch Set 2 : #

Total comments: 2

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+99 lines, -71 lines) Patch
M printing/image_mac.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download
M printing/metafile.h View 1 2 3 chunks +35 lines, -19 lines 0 comments Download
M printing/pdf_metafile_cg_mac.h View 1 2 2 chunks +3 lines, -6 lines 0 comments Download
M printing/pdf_metafile_cg_mac.cc View 1 2 3 chunks +48 lines, -27 lines 0 comments Download
M printing/pdf_metafile_skia.h View 1 2 2 chunks +3 lines, -6 lines 0 comments Download
M printing/pdf_metafile_skia.cc View 1 2 1 chunk +2 lines, -7 lines 0 comments Download
M printing/printed_document_mac.cc View 1 2 2 chunks +4 lines, -3 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
Lei Zhang
8 years, 6 months ago (2012-06-15 23:59:21 UTC) #1
kmadhusu
https://chromiumcodereview.appspot.com/10560021/diff/1/printing/metafile.h File printing/metafile.h (right): https://chromiumcodereview.appspot.com/10560021/diff/1/printing/metafile.h#newcode142 printing/metafile.h:142: bool autorotate) const = 0; Looks like we are ...
8 years, 6 months ago (2012-06-16 00:44:11 UTC) #2
Lei Zhang
https://chromiumcodereview.appspot.com/10560021/diff/1/printing/metafile.h File printing/metafile.h (right): https://chromiumcodereview.appspot.com/10560021/diff/1/printing/metafile.h#newcode142 printing/metafile.h:142: bool autorotate) const = 0; On 2012/06/16 00:44:11, kmadhusu ...
8 years, 6 months ago (2012-06-16 01:47:20 UTC) #3
kmadhusu
LGTM with changes. https://chromiumcodereview.appspot.com/10560021/diff/2002/printing/metafile.h File printing/metafile.h (right): https://chromiumcodereview.appspot.com/10560021/diff/2002/printing/metafile.h#newcode57 printing/metafile.h:57: bool shrink_to_fit; Can you write a ...
8 years, 6 months ago (2012-06-17 20:18:28 UTC) #4
Lei Zhang
8 years, 6 months ago (2012-06-18 20:58:25 UTC) #5
https://chromiumcodereview.appspot.com/10560021/diff/2002/printing/metafile.h
File printing/metafile.h (right):

https://chromiumcodereview.appspot.com/10560021/diff/2002/printing/metafile.h...
printing/metafile.h:57: bool shrink_to_fit;
On 2012/06/17 20:18:28, kmadhusu wrote:
> Can you write a default constructor which initializes all these member
variables
> to false?  Instances can overwrite the ones that need to be set to true. 

Done.

Powered by Google App Engine
This is Rietveld 408576698