diff options
author | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 02:36:26 +0000 |
---|---|---|
committer | thestig@chromium.org <thestig@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-29 02:36:26 +0000 |
commit | c48bee274f6c6869430bdda4ce771c8cdabf736f (patch) | |
tree | 7ce89dceab0e9dd2d2a7f7426a429f68201a8782 /printing/print_settings.h | |
parent | e555f205eb8931da7fdf0f4cb4a01a24c3e2bf8a (diff) | |
download | chromium_src-c48bee274f6c6869430bdda4ce771c8cdabf736f.zip chromium_src-c48bee274f6c6869430bdda4ce771c8cdabf736f.tar.gz chromium_src-c48bee274f6c6869430bdda4ce771c8cdabf736f.tar.bz2 |
Print Preview: Implement basic settings.
BUG=57902
TEST=Run with --enable-print-preview, make sure orientation and color settings work.
Review URL: http://codereview.chromium.org/6736014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79655 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'printing/print_settings.h')
-rw-r--r-- | printing/print_settings.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/printing/print_settings.h b/printing/print_settings.h index 2ec5462..fbd37f4 100644 --- a/printing/print_settings.h +++ b/printing/print_settings.h @@ -1,4 +1,4 @@ -// Copyright (c) 2010 The Chromium Authors. All rights reserved. +// Copyright (c) 2011 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. @@ -94,6 +94,9 @@ class PrintSettings { // correctly associated with its corresponding PrintedDocument. static int NewCookie(); + // Updates the orientation and flip the page if needed. + void SetOrientation(bool landscape); + private: ////////////////////////////////////////////////////////////////////////////// // Settings that can't be changed without side-effects. |