Index: chrome/browser/printing/printed_page.h |
=================================================================== |
--- chrome/browser/printing/printed_page.h (revision 19913) |
+++ chrome/browser/printing/printed_page.h (working copy) |
@@ -9,11 +9,8 @@ |
#include "base/gfx/size.h" |
#include "base/ref_counted.h" |
#include "base/scoped_ptr.h" |
+#include "printing/native_metafile.h" |
-namespace gfx { |
-class Emf; |
-} |
- |
namespace printing { |
// Contains the data to reproduce a printed page, either on screen or on |
@@ -25,13 +22,13 @@ |
class PrintedPage : public base::RefCountedThreadSafe<PrintedPage> { |
public: |
PrintedPage(int page_number, |
- gfx::Emf* emf, |
+ NativeMetafile* native_metafile, |
const gfx::Size& page_size); |
~PrintedPage(); |
// Getters |
int page_number() const { return page_number_; } |
- const gfx::Emf* emf() const; |
+ const NativeMetafile* native_metafile() const; |
const gfx::Size& page_size() const { return page_size_; } |
private: |
@@ -39,7 +36,7 @@ |
const int page_number_; |
// Actual paint data. |
- const scoped_ptr<gfx::Emf> emf_; |
+ const scoped_ptr<NativeMetafile> native_metafile_; |
// The physical page size. To support multiple page formats inside on print |
// job. |