OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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_WIN_H_ | 5 #ifndef PRINTING_PRINTING_CONTEXT_WIN_H_ |
6 #define PRINTING_PRINTING_CONTEXT_WIN_H_ | 6 #define PRINTING_PRINTING_CONTEXT_WIN_H_ |
7 | 7 |
| 8 #include <memory> |
8 #include <string> | 9 #include <string> |
9 | 10 |
10 #include "base/macros.h" | 11 #include "base/macros.h" |
11 #include "base/memory/scoped_ptr.h" | |
12 #include "printing/printing_context.h" | 12 #include "printing/printing_context.h" |
13 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
14 | 14 |
15 namespace printing { | 15 namespace printing { |
16 | 16 |
17 class PrintSettings; | 17 class PrintSettings; |
18 | 18 |
19 class PRINTING_EXPORT PrintingContextWin : public PrintingContext { | 19 class PRINTING_EXPORT PrintingContextWin : public PrintingContext { |
20 public: | 20 public: |
21 explicit PrintingContextWin(Delegate* delegate); | 21 explicit PrintingContextWin(Delegate* delegate); |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 | 59 |
60 // The selected printer context. | 60 // The selected printer context. |
61 HDC context_; | 61 HDC context_; |
62 | 62 |
63 DISALLOW_COPY_AND_ASSIGN(PrintingContextWin); | 63 DISALLOW_COPY_AND_ASSIGN(PrintingContextWin); |
64 }; | 64 }; |
65 | 65 |
66 } // namespace printing | 66 } // namespace printing |
67 | 67 |
68 #endif // PRINTING_PRINTING_CONTEXT_WIN_H_ | 68 #endif // PRINTING_PRINTING_CONTEXT_WIN_H_ |
OLD | NEW |