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_SYSTEM_DIALOG_WIN_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_SYSTEM_DIALOG_WIN_H_ |
6 #define PRINTING_PRINTING_CONTEXT_SYSTEM_DIALOG_WIN_H_ | 6 #define PRINTING_PRINTING_CONTEXT_SYSTEM_DIALOG_WIN_H_ |
7 | 7 |
8 #include <ocidl.h> | 8 #include <ocidl.h> |
9 #include <commdlg.h> | 9 #include <commdlg.h> |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 | 12 |
| 13 #include "base/macros.h" |
13 #include "printing/printing_context_win.h" | 14 #include "printing/printing_context_win.h" |
14 #include "ui/gfx/native_widget_types.h" | 15 #include "ui/gfx/native_widget_types.h" |
15 | 16 |
16 namespace printing { | 17 namespace printing { |
17 | 18 |
18 class PRINTING_EXPORT PrintingContextSytemDialogWin | 19 class PRINTING_EXPORT PrintingContextSytemDialogWin |
19 : public PrintingContextWin { | 20 : public PrintingContextWin { |
20 public: | 21 public: |
21 explicit PrintingContextSytemDialogWin(Delegate* delegate); | 22 explicit PrintingContextSytemDialogWin(Delegate* delegate); |
22 ~PrintingContextSytemDialogWin() override; | 23 ~PrintingContextSytemDialogWin() override; |
(...skipping 21 matching lines...) Expand all Loading... |
44 // Parses the result of a PRINTDLGEX result. | 45 // Parses the result of a PRINTDLGEX result. |
45 Result ParseDialogResultEx(const PRINTDLGEX& dialog_options); | 46 Result ParseDialogResultEx(const PRINTDLGEX& dialog_options); |
46 Result ParseDialogResult(const PRINTDLG& dialog_options); | 47 Result ParseDialogResult(const PRINTDLG& dialog_options); |
47 | 48 |
48 DISALLOW_COPY_AND_ASSIGN(PrintingContextSytemDialogWin); | 49 DISALLOW_COPY_AND_ASSIGN(PrintingContextSytemDialogWin); |
49 }; | 50 }; |
50 | 51 |
51 } // namespace printing | 52 } // namespace printing |
52 | 53 |
53 #endif // PRINTING_PRINTING_CONTEXT_SYSTEM_DIALOG_WIN_H_ | 54 #endif // PRINTING_PRINTING_CONTEXT_SYSTEM_DIALOG_WIN_H_ |
OLD | NEW |