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

Unified Diff: chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h

Issue 1234223005: Initial gtk3 support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Silence gtk memory leak Created 5 years, 3 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/ui/libgtk2ui/owned_widget_gtk2.cc ('k') | chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
diff --git a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
index ce39b5a22145a914042f3e15c92554aceb40243b..162e2f68516dff06325fa84c0275ea1799c75252 100644
--- a/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
+++ b/chrome/browser/ui/libgtk2ui/print_dialog_gtk2.h
@@ -48,6 +48,9 @@ class PrintDialogGtk2
void AddRefToDialog() override;
void ReleaseDialog() override;
+ // Handles print job response.
+ void OnJobCompleted(GtkPrintJob* print_job, const GError* error);
+
private:
friend struct content::BrowserThread::DeleteOnThread<
content::BrowserThread::UI>;
@@ -62,12 +65,6 @@ class PrintDialogGtk2
// Prints document named |document_name|.
void SendDocumentToPrinter(const base::string16& document_name);
- // Handles print job response.
- static void OnJobCompletedThunk(GtkPrintJob* print_job,
- gpointer user_data,
- GError* error);
- void OnJobCompleted(GtkPrintJob* print_job, GError* error);
-
// Helper function for initializing |context_|'s PrintSettings with a given
// |settings|.
void InitPrintSettings(printing::PrintSettings* settings);
« no previous file with comments | « chrome/browser/ui/libgtk2ui/owned_widget_gtk2.cc ('k') | chrome/browser/ui/libgtk2ui/print_dialog_gtk2.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698