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

Unified Diff: printing/printed_page.h

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_document_win.cc ('k') | printing/printed_page.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: printing/printed_page.h
diff --git a/printing/printed_page.h b/printing/printed_page.h
index 0fc9069d7e80b4776b0849193cc64ff619daab3f..37714577aaa511af0e663e2adf607bee08c47db5 100644
--- a/printing/printed_page.h
+++ b/printing/printed_page.h
@@ -7,7 +7,7 @@
#include "base/memory/ref_counted.h"
#include "base/memory/scoped_ptr.h"
-#include "printing/native_metafile.h"
+#include "printing/metafile.h"
#include "ui/gfx/rect.h"
#include "ui/gfx/size.h"
@@ -22,14 +22,14 @@ namespace printing {
class PrintedPage : public base::RefCountedThreadSafe<PrintedPage> {
public:
PrintedPage(int page_number,
- NativeMetafile* native_metafile,
+ Metafile* metafile,
const gfx::Size& page_size,
const gfx::Rect& page_content_rect,
bool has_visible_overlays);
// Getters
int page_number() const { return page_number_; }
- const NativeMetafile* native_metafile() const;
+ const Metafile* metafile() const;
const gfx::Size& page_size() const { return page_size_; }
const gfx::Rect& page_content_rect() const { return page_content_rect_; }
bool has_visible_overlays() const { return has_visible_overlays_; }
@@ -48,7 +48,7 @@ class PrintedPage : public base::RefCountedThreadSafe<PrintedPage> {
const int page_number_;
// Actual paint data.
- const scoped_ptr<NativeMetafile> native_metafile_;
+ const scoped_ptr<Metafile> metafile_;
// The physical page size. To support multiple page formats inside on print
// job.
« no previous file with comments | « printing/printed_document_win.cc ('k') | printing/printed_page.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698