summaryrefslogtreecommitdiffstats
path: root/printing/printed_page.cc
blob: 441690a92ece6ebf636ffe43768e90a7cf23d046 (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
// 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)
    : page_number_(page_number),
      native_metafile_(native_metafile),
      page_size_(page_size) {
}

PrintedPage::~PrintedPage() {
}

const NativeMetafile* PrintedPage::native_metafile() const {
  return native_metafile_.get();
}

}  // namespace printing