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

Unified Diff: chrome/browser/printing/printed_page.cc

Issue 149181: Move Emf class to the printing library. Also creates a platform agnostic Nat... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 5 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 | « chrome/browser/printing/printed_page.h ('k') | chrome/browser/printing/printing_layout_uitest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/printed_page.cc
===================================================================
--- chrome/browser/printing/printed_page.cc (revision 19913)
+++ chrome/browser/printing/printed_page.cc (working copy)
@@ -4,23 +4,21 @@
#include "chrome/browser/printing/printed_page.h"
-#include "chrome/common/gfx/emf.h"
-
namespace printing {
PrintedPage::PrintedPage(int page_number,
- gfx::Emf* emf,
+ NativeMetafile* native_metafile,
const gfx::Size& page_size)
: page_number_(page_number),
- emf_(emf),
+ native_metafile_(native_metafile),
page_size_(page_size) {
}
PrintedPage::~PrintedPage() {
}
-const gfx::Emf* PrintedPage::emf() const {
- return emf_.get();
+const NativeMetafile* PrintedPage::native_metafile() const {
+ return native_metafile_.get();
}
} // namespace printing
« no previous file with comments | « chrome/browser/printing/printed_page.h ('k') | chrome/browser/printing/printing_layout_uitest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698