| OLD | NEW |
| 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "chrome/browser/printing/printed_page.h" | 5 #include "printing/printed_page.h" |
| 6 | 6 |
| 7 namespace printing { | 7 namespace printing { |
| 8 | 8 |
| 9 PrintedPage::PrintedPage(int page_number, | 9 PrintedPage::PrintedPage(int page_number, |
| 10 NativeMetafile* native_metafile, | 10 NativeMetafile* native_metafile, |
| 11 const gfx::Size& page_size) | 11 const gfx::Size& page_size) |
| 12 : page_number_(page_number), | 12 : page_number_(page_number), |
| 13 native_metafile_(native_metafile), | 13 native_metafile_(native_metafile), |
| 14 page_size_(page_size) { | 14 page_size_(page_size) { |
| 15 } | 15 } |
| 16 | 16 |
| 17 PrintedPage::~PrintedPage() { | 17 PrintedPage::~PrintedPage() { |
| 18 } | 18 } |
| 19 | 19 |
| 20 const NativeMetafile* PrintedPage::native_metafile() const { | 20 const NativeMetafile* PrintedPage::native_metafile() const { |
| 21 return native_metafile_.get(); | 21 return native_metafile_.get(); |
| 22 } | 22 } |
| 23 | 23 |
| 24 } // namespace printing | 24 } // namespace printing |
| OLD | NEW |