[go: nahoru, domu]

blob: b9df411b7226c6448516803717f50dc17c9195da [file] [log] [blame]
// Copyright (c) 2011 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_win.h"
#include <utility>
namespace printing {
PrintedPage::PrintedPage(int page_number,
std::unique_ptr<MetafilePlayer> metafile,
const gfx::Size& page_size,
const gfx::Rect& page_content_rect)
: page_number_(page_number),
metafile_(std::move(metafile)),
shrink_factor_(0.0f),
page_size_(page_size),
page_content_rect_(page_content_rect) {}
PrintedPage::~PrintedPage() = default;
const MetafilePlayer* PrintedPage::metafile() const {
return metafile_.get();
}
} // namespace printing