| 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 <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "base/macros.h" |
| 10 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
| 11 #include "printing/printing_context.h" | 12 #include "printing/printing_context.h" |
| 12 #include "ui/gfx/native_widget_types.h" | 13 #include "ui/gfx/native_widget_types.h" |
| 13 | 14 |
| 14 namespace printing { | 15 namespace printing { |
| 15 | 16 |
| 16 class PrintSettings; | 17 class PrintSettings; |
| 17 | 18 |
| 18 class PRINTING_EXPORT PrintingContextWin : public PrintingContext { | 19 class PRINTING_EXPORT PrintingContextWin : public PrintingContext { |
| 19 public: | 20 public: |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 | 59 |
| 59 // The selected printer context. | 60 // The selected printer context. |
| 60 HDC context_; | 61 HDC context_; |
| 61 | 62 |
| 62 DISALLOW_COPY_AND_ASSIGN(PrintingContextWin); | 63 DISALLOW_COPY_AND_ASSIGN(PrintingContextWin); |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 } // namespace printing | 66 } // namespace printing |
| 66 | 67 |
| 67 #endif // PRINTING_PRINTING_CONTEXT_WIN_H_ | 68 #endif // PRINTING_PRINTING_CONTEXT_WIN_H_ |
| OLD | NEW |