summaryrefslogtreecommitdiffstats
path: root/chrome/browser/printing/printed_page.cc
blob: 1cb5c0dcbb4ee69f969922c58e47bcd2cf835bd0 (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 "chrome/browser/printing/printed_page.h"

#include "chrome/common/gfx/emf.h"

namespace printing {

PrintedPage::PrintedPage(int page_number,
                         gfx::Emf* emf,
                         const gfx::Size& page_size)
    : page_number_(page_number),
      emf_(emf),
      page_size_(page_size) {
}

PrintedPage::~PrintedPage() {
}

const gfx::Emf* PrintedPage::emf() const {
  return emf_.get();
}

}  // namespace printing