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_BACKEND_WIN_HELPER_H_ | 5 #ifndef PRINTING_BACKEND_WIN_HELPER_H_ |
6 #define PRINTING_BACKEND_WIN_HELPER_H_ | 6 #define PRINTING_BACKEND_WIN_HELPER_H_ |
7 | 7 |
8 #include <objidl.h> | 8 #include <objidl.h> |
9 #include <prntvpt.h> | 9 #include <prntvpt.h> |
10 #include <winspool.h> | 10 #include <winspool.h> |
11 #include <xpsprint.h> | 11 #include <xpsprint.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 | 14 |
| 15 #include "base/macros.h" |
15 #include "base/memory/scoped_ptr.h" | 16 #include "base/memory/scoped_ptr.h" |
16 #include "base/strings/string16.h" | 17 #include "base/strings/string16.h" |
17 #include "base/win/scoped_handle.h" | 18 #include "base/win/scoped_handle.h" |
18 #include "printing/printing_export.h" | 19 #include "printing/printing_export.h" |
19 | 20 |
20 // These are helper functions for dealing with Windows Printing. | 21 // These are helper functions for dealing with Windows Printing. |
21 namespace printing { | 22 namespace printing { |
22 | 23 |
23 struct PRINTING_EXPORT PrinterBasicInfo; | 24 struct PRINTING_EXPORT PrinterBasicInfo; |
24 | 25 |
(...skipping 165 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> PromptDevMode( | 191 PRINTING_EXPORT scoped_ptr<DEVMODE, base::FreeDeleter> PromptDevMode( |
191 HANDLE printer, | 192 HANDLE printer, |
192 const base::string16& printer_name, | 193 const base::string16& printer_name, |
193 DEVMODE* in, | 194 DEVMODE* in, |
194 HWND window, | 195 HWND window, |
195 bool* canceled); | 196 bool* canceled); |
196 | 197 |
197 } // namespace printing | 198 } // namespace printing |
198 | 199 |
199 #endif // PRINTING_BACKEND_WIN_HELPER_H_ | 200 #endif // PRINTING_BACKEND_WIN_HELPER_H_ |
OLD | NEW |