| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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 | 10 |
| 11 #include "app/gtk_signal.h" | |
| 12 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
| 13 #include "base/file_path.h" | 12 #include "base/file_path.h" |
| 13 #include "ui/base/gtk/gtk_signal.h" |
| 14 | 14 |
| 15 class Browser; | 15 class Browser; |
| 16 | 16 |
| 17 typedef struct _GtkPrintJob GtkPrintJob; | 17 typedef struct _GtkPrintJob GtkPrintJob; |
| 18 | 18 |
| 19 // Currently this dialog only allows the user to choose a printer. | 19 // Currently this dialog only allows the user to choose a printer. |
| 20 class PrintDialogGtk { | 20 class PrintDialogGtk { |
| 21 public: | 21 public: |
| 22 static bool DialogShowing(); | 22 static bool DialogShowing(); |
| 23 | 23 |
| (...skipping 16 matching lines...) Expand all Loading... |
| 40 FilePath path_to_pdf_; | 40 FilePath path_to_pdf_; |
| 41 | 41 |
| 42 GtkWidget* dialog_; | 42 GtkWidget* dialog_; |
| 43 | 43 |
| 44 Browser* browser_; | 44 Browser* browser_; |
| 45 | 45 |
| 46 DISALLOW_COPY_AND_ASSIGN(PrintDialogGtk); | 46 DISALLOW_COPY_AND_ASSIGN(PrintDialogGtk); |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ | 49 #endif // CHROME_BROWSER_PRINTING_PRINT_DIALOG_GTK_H_ |
| OLD | NEW |