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

Unified Diff: chrome/browser/printing/print_dialog_gtk.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 issues and rename MetafileInterface to Metafile 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
Index: chrome/browser/printing/print_dialog_gtk.h
diff --git a/chrome/browser/printing/print_dialog_gtk.h b/chrome/browser/printing/print_dialog_gtk.h
index e66579f26b2ef4038c34da573b0ddd5b7ad7bfcc..7ed38a6ed6c55c6bec722a3b2b7d5152b881ad08 100644
--- a/chrome/browser/printing/print_dialog_gtk.h
+++ b/chrome/browser/printing/print_dialog_gtk.h
@@ -11,7 +11,7 @@
#include "base/file_path.h"
#include "base/memory/ref_counted.h"
-#include "printing/native_metafile.h"
+#include "printing/metafile.h"
#include "printing/printing_context_cairo.h"
#include "ui/base/gtk/gtk_signal.h"
@@ -19,7 +19,6 @@ namespace base {
class WaitableEvent;
}
-using printing::NativeMetafile;
using printing::PrintingContextCairo;
class PrintDialogGtk : public base::RefCountedThreadSafe<PrintDialogGtk> {
@@ -35,7 +34,7 @@ class PrintDialogGtk : public base::RefCountedThreadSafe<PrintDialogGtk> {
// |print_dialog|, with data from |metafile|.
// Called from the print worker thread.
static void PrintDocument(void* print_dialog,
- const NativeMetafile* metafile,
+ const printing::Metafile* metafile,
const string16& document_name);
private:
@@ -49,7 +48,7 @@ class PrintDialogGtk : public base::RefCountedThreadSafe<PrintDialogGtk> {
CHROMEGTK_CALLBACK_1(PrintDialogGtk, void, OnResponse, int);
// Saves data in |metafile| to disk for document named |document_name|.
- void SaveDocumentToDisk(const NativeMetafile* metafile,
+ void SaveDocumentToDisk(const printing::Metafile* metafile,
const string16& document_name);
// Prints document named |document_name|.
« no previous file with comments | « no previous file | chrome/browser/printing/print_dialog_gtk.cc » ('j') | chrome/browser/printing/print_view_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698