OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ | 5 #ifndef CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ |
6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ | 6 #define CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ |
7 #pragma once | 7 #pragma once |
8 | 8 |
9 #include <gtk/gtk.h> | 9 #include <gtk/gtk.h> |
10 #include <gtk/gtkunixprint.h> | 10 #include <gtk/gtkunixprint.h> |
11 | 11 |
12 #include "base/compiler_specific.h" | 12 #include "base/compiler_specific.h" |
13 #include "base/file_path.h" | 13 #include "base/file_path.h" |
14 #include "base/memory/ref_counted.h" | 14 #include "base/memory/ref_counted.h" |
15 #include "base/message_loop_helpers.h" | 15 #include "base/sequenced_task_runner_helpers.h" |
16 #include "content/public/browser/browser_thread.h" | 16 #include "content/public/browser/browser_thread.h" |
17 #include "printing/print_dialog_gtk_interface.h" | 17 #include "printing/print_dialog_gtk_interface.h" |
18 #include "printing/printing_context_gtk.h" | 18 #include "printing/printing_context_gtk.h" |
19 #include "ui/base/gtk/gtk_signal.h" | 19 #include "ui/base/gtk/gtk_signal.h" |
20 | 20 |
21 namespace printing { | 21 namespace printing { |
22 class Metafile; | 22 class Metafile; |
23 class PrintSettings; | 23 class PrintSettings; |
24 } | 24 } |
25 | 25 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
84 GtkPrintSettings* gtk_settings_; | 84 GtkPrintSettings* gtk_settings_; |
85 GtkPageSetup* page_setup_; | 85 GtkPageSetup* page_setup_; |
86 GtkPrinter* printer_; | 86 GtkPrinter* printer_; |
87 | 87 |
88 FilePath path_to_pdf_; | 88 FilePath path_to_pdf_; |
89 | 89 |
90 DISALLOW_COPY_AND_ASSIGN(PrintDialogGtk); | 90 DISALLOW_COPY_AND_ASSIGN(PrintDialogGtk); |
91 }; | 91 }; |
92 | 92 |
93 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ | 93 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ |
OLD | NEW |