blob: 242adb2b772477da0d535c90028d7a24593fa619 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
// Copyright (c) 2006-2008 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.
#include "printing/printed_page.h"
namespace printing {
PrintedPage::PrintedPage(int page_number,
NativeMetafile* native_metafile,
const gfx::Size& page_size,
const gfx::Rect& page_content_rect)
: page_number_(page_number),
native_metafile_(native_metafile),
page_size_(page_size),
page_content_rect_(page_content_rect) {
}
PrintedPage::~PrintedPage() {
}
const NativeMetafile* PrintedPage::native_metafile() const {
return native_metafile_.get();
}
} // namespace printing
|