diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-18 21:49:20 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-06-18 21:49:20 +0000 |
commit | b5cf844c86b06367280e5bf5b3584c9a284cd10d (patch) | |
tree | bdcc07d666ef0e5c1b99ac8598c9bb0d6be417c4 /printing/pdf_metafile_skia.h | |
parent | 68c6f395372974da145e57d31974a6f1d1b4fdc5 (diff) | |
download | chromium_src-b5cf844c86b06367280e5bf5b3584c9a284cd10d.zip chromium_src-b5cf844c86b06367280e5bf5b3584c9a284cd10d.tar.gz chromium_src-b5cf844c86b06367280e5bf5b3584c9a284cd10d.tar.bz2 |
Mac printing: Autorotate printed pages so their orientation is the same as the destination page.
BUG=93303,132922
TEST=manual
Review URL: https://chromiumcodereview.appspot.com/10560021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@142824 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/pdf_metafile_skia.h')
-rw-r--r-- | printing/pdf_metafile_skia.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/printing/pdf_metafile_skia.h b/printing/pdf_metafile_skia.h index 64aecc0..7a1a9da 100644 --- a/printing/pdf_metafile_skia.h +++ b/printing/pdf_metafile_skia.h @@ -1,4 +1,4 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. @@ -58,12 +58,9 @@ class PRINTING_EXPORT PdfMetafileSkia : public Metafile { virtual HENHMETAFILE emf() const OVERRIDE; #elif defined(OS_MACOSX) virtual bool RenderPage(unsigned int page_number, - CGContextRef context, + gfx::NativeDrawingContext context, const CGRect rect, - bool shrink_to_fit, - bool stretch_to_fit, - bool center_horizontally, - bool center_vertically) const OVERRIDE; + const MacRenderPageParams& params) const OVERRIDE; #endif #if defined(OS_CHROMEOS) |