diff options
Diffstat (limited to 'printing/page_setup.h')
-rw-r--r-- | printing/page_setup.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/printing/page_setup.h b/printing/page_setup.h index d96980f..0ca1f789 100644 --- a/printing/page_setup.h +++ b/printing/page_setup.h @@ -1,4 +1,4 @@ -// Copyright (c) 2006-2008 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. @@ -47,6 +47,9 @@ class PageSetup { void SetRequestedMargins(const PageMargins& requested_margins); + // Flips the orientation of the page and recalculates all page areas. + void FlipOrientation(); + const gfx::Size& physical_size() const { return physical_size_; } const gfx::Rect& overlay_area() const { return overlay_area_; } const gfx::Rect& content_area() const { return content_area_; } |