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 PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ | 5 #ifndef PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ |
6 #define PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ | 6 #define PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ |
7 | 7 |
8 #include "base/string16.h" | 8 #include "base/strings/string16.h" |
9 #include "printing/printing_context_gtk.h" | 9 #include "printing/printing_context_gtk.h" |
10 #include "ui/gfx/native_widget_types.h" | 10 #include "ui/gfx/native_widget_types.h" |
11 | 11 |
12 namespace printing { | 12 namespace printing { |
13 | 13 |
14 class Metafile; | 14 class Metafile; |
15 class PrintSettings; | 15 class PrintSettings; |
16 | 16 |
17 // An interface for GTK printing dialogs. Classes that live outside of | 17 // An interface for GTK printing dialogs. Classes that live outside of |
18 // printing/ can implement this interface and get threading requirements | 18 // printing/ can implement this interface and get threading requirements |
(...skipping 29 matching lines...) Expand all Loading... |
48 virtual void AddRefToDialog() = 0; | 48 virtual void AddRefToDialog() = 0; |
49 virtual void ReleaseDialog() = 0; | 49 virtual void ReleaseDialog() = 0; |
50 | 50 |
51 protected: | 51 protected: |
52 virtual ~PrintDialogGtkInterface() {} | 52 virtual ~PrintDialogGtkInterface() {} |
53 }; | 53 }; |
54 | 54 |
55 } // namespace printing | 55 } // namespace printing |
56 | 56 |
57 #endif // PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ | 57 #endif // PRINTING_PRINT_DIALOG_GTK_INTERFACE_H_ |
OLD | NEW |