OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_PRINTING_CONTEXT_LINUX_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_LINUX_H_ |
6 #define PRINTING_PRINTING_CONTEXT_LINUX_H_ | 6 #define PRINTING_PRINTING_CONTEXT_LINUX_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "printing/printing_context.h" | 11 #include "printing/printing_context.h" |
12 | 12 |
13 namespace base { | |
14 class DictionaryValue; | |
15 } | |
16 | |
17 namespace printing { | 13 namespace printing { |
18 | 14 |
19 class MetafilePlayer; | 15 class MetafilePlayer; |
20 class PrintDialogGtkInterface; | 16 class PrintDialogGtkInterface; |
21 | 17 |
22 // PrintingContext with optional native UI for print dialog and pdf_paper_size. | 18 // PrintingContext with optional native UI for print dialog and pdf_paper_size. |
23 class PRINTING_EXPORT PrintingContextLinux : public PrintingContext { | 19 class PRINTING_EXPORT PrintingContextLinux : public PrintingContext { |
24 public: | 20 public: |
25 explicit PrintingContextLinux(Delegate* delegate); | 21 explicit PrintingContextLinux(Delegate* delegate); |
26 ~PrintingContextLinux() override; | 22 ~PrintingContextLinux() override; |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 private: | 57 private: |
62 base::string16 document_name_; | 58 base::string16 document_name_; |
63 PrintDialogGtkInterface* print_dialog_; | 59 PrintDialogGtkInterface* print_dialog_; |
64 | 60 |
65 DISALLOW_COPY_AND_ASSIGN(PrintingContextLinux); | 61 DISALLOW_COPY_AND_ASSIGN(PrintingContextLinux); |
66 }; | 62 }; |
67 | 63 |
68 } // namespace printing | 64 } // namespace printing |
69 | 65 |
70 #endif // PRINTING_PRINTING_CONTEXT_LINUX_H_ | 66 #endif // PRINTING_PRINTING_CONTEXT_LINUX_H_ |
OLD | NEW |