From 40c7cfe39957248d38d8c376fbfc7d332c796741 Mon Sep 17 00:00:00 2001 From: "hamaji@chromium.org" Date: Thu, 1 Jul 2010 07:04:05 +0000 Subject: Implement limited paged media support for mac. BUG=47277 TEST=none Review URL: http://codereview.chromium.org/2876020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51347 0039d316-1c4b-4281-b951-d872f2087c98 --- printing/printed_document.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'printing/printed_document.h') diff --git a/printing/printed_document.h b/printing/printed_document.h index dbf4c3d..049add0 100644 --- a/printing/printed_document.h +++ b/printing/printed_document.h @@ -42,7 +42,8 @@ class PrintedDocument : public base::RefCountedThreadSafe { // Sets a page's data. 0-based. Takes metafile ownership. // Note: locks for a short amount of time. - void SetPage(int page_number, NativeMetafile* metafile, double shrink); + void SetPage(int page_number, NativeMetafile* metafile, double shrink, + const gfx::Size& paper_size, const gfx::Rect& page_rect); // Retrieves a page. If the page is not available right now, it // requests to have this page be rendered and returns false. -- cgit v1.1