Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1192)

Unified Diff: printing/printed_page.cc

Issue 6826027: Connect the right metafiles for print preview on Linux and Windows. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix compile problems Created 9 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « printing/printed_page.h ('k') | printing/printing.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_page.cc
diff --git a/printing/printed_page.cc b/printing/printed_page.cc
index 1661813b78996529958c756890bcb968018c0b76..ac1a2d81439eb09c45e194a5ac11fa77cd41af86 100644
--- a/printing/printed_page.cc
+++ b/printing/printed_page.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2006-2008 The Chromium Authors. All rights reserved.
+// 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.
@@ -7,12 +7,12 @@
namespace printing {
PrintedPage::PrintedPage(int page_number,
- NativeMetafile* native_metafile,
+ Metafile* metafile,
const gfx::Size& page_size,
const gfx::Rect& page_content_rect,
bool has_visible_overlays)
: page_number_(page_number),
- native_metafile_(native_metafile),
+ metafile_(metafile),
page_size_(page_size),
page_content_rect_(page_content_rect),
has_visible_overlays_(has_visible_overlays) {
@@ -21,8 +21,8 @@ PrintedPage::PrintedPage(int page_number,
PrintedPage::~PrintedPage() {
}
-const NativeMetafile* PrintedPage::native_metafile() const {
- return native_metafile_.get();
+const Metafile* PrintedPage::metafile() const {
+ return metafile_.get();
}
void PrintedPage::GetCenteredPageContentRect(
« no previous file with comments | « printing/printed_page.h ('k') | printing/printing.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698