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

Unified Diff: chrome/browser/printing/print_dialog_gtk.h

Issue 7639014: Linux: Simplify printing code and make it more reliable during shutdown. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « no previous file | chrome/browser/printing/print_dialog_gtk.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_dialog_gtk.h
===================================================================
--- chrome/browser/printing/print_dialog_gtk.h (revision 96079)
+++ chrome/browser/printing/print_dialog_gtk.h (working copy)
@@ -17,10 +17,6 @@
#include "printing/printing_context_cairo.h"
#include "ui/base/gtk/gtk_signal.h"
-namespace base {
-class WaitableEvent;
-}
-
namespace printing {
class Metafile;
}
@@ -58,10 +54,6 @@
// Handles dialog response.
CHROMEGTK_CALLBACK_1(PrintDialogGtk, void, OnResponse, int);
- // Saves data in |metafile| to disk for document named |document_name|.
- void SaveDocumentToDisk(const printing::Metafile* metafile,
- const string16& document_name);
-
// Prints document named |document_name|.
void SendDocumentToPrinter(const string16& document_name);
@@ -86,9 +78,6 @@
GtkPageSetup* page_setup_;
GtkPrinter* printer_;
- // Event to signal when save document finishes.
- scoped_ptr<base::WaitableEvent> save_document_event_;
-
FilePath path_to_pdf_;
DISALLOW_COPY_AND_ASSIGN(PrintDialogGtk);
« no previous file with comments | « no previous file | chrome/browser/printing/print_dialog_gtk.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698