1 // Copyright 2011 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "printing/printed_page_win.h"
11 PrintedPage::PrintedPage(uint32_t page_number,
12 std::unique_ptr<MetafilePlayer> metafile,
13 const gfx::Size& page_size,
14 const gfx::Rect& page_content_rect)
15 : page_number_(page_number),
16 metafile_(std::move(metafile)),
18 page_size_(page_size),
19 page_content_rect_(page_content_rect) {}
21 PrintedPage::~PrintedPage() = default;
23 const MetafilePlayer* PrintedPage::metafile() const {
24 return metafile_.get();
26 } // namespace printing