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_PRINT_BACKEND_H_ | 5 #ifndef PRINTING_BACKEND_PRINT_BACKEND_H_ |
6 #define PRINTING_BACKEND_PRINT_BACKEND_H_ | 6 #define PRINTING_BACKEND_PRINT_BACKEND_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 #include <vector> | 10 #include <vector> |
(...skipping 21 matching lines...) Expand all Loading... |
32 std::map<std::string, std::string> options; | 32 std::map<std::string, std::string> options; |
33 }; | 33 }; |
34 | 34 |
35 typedef std::vector<PrinterBasicInfo> PrinterList; | 35 typedef std::vector<PrinterBasicInfo> PrinterList; |
36 | 36 |
37 struct PRINTING_EXPORT PrinterSemanticCapsAndDefaults { | 37 struct PRINTING_EXPORT PrinterSemanticCapsAndDefaults { |
38 PrinterSemanticCapsAndDefaults(); | 38 PrinterSemanticCapsAndDefaults(); |
39 ~PrinterSemanticCapsAndDefaults(); | 39 ~PrinterSemanticCapsAndDefaults(); |
40 | 40 |
41 // Capabilities. | 41 // Capabilities. |
42 bool color_capable; | 42 bool color_changeable; |
43 bool duplex_capable; | 43 bool duplex_capable; |
44 | 44 |
45 // Current defaults. | 45 // Current defaults. |
46 bool color_default; | 46 bool color_default; |
47 DuplexMode duplex_default; | 47 DuplexMode duplex_default; |
48 }; | 48 }; |
49 | 49 |
50 struct PRINTING_EXPORT PrinterCapsAndDefaults { | 50 struct PRINTING_EXPORT PrinterCapsAndDefaults { |
51 PrinterCapsAndDefaults(); | 51 PrinterCapsAndDefaults(); |
52 ~PrinterCapsAndDefaults(); | 52 ~PrinterCapsAndDefaults(); |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 const base::DictionaryValue* print_backend_settings); | 103 const base::DictionaryValue* print_backend_settings); |
104 | 104 |
105 protected: | 105 protected: |
106 friend class base::RefCountedThreadSafe<PrintBackend>; | 106 friend class base::RefCountedThreadSafe<PrintBackend>; |
107 virtual ~PrintBackend(); | 107 virtual ~PrintBackend(); |
108 }; | 108 }; |
109 | 109 |
110 } // namespace printing | 110 } // namespace printing |
111 | 111 |
112 #endif // PRINTING_BACKEND_PRINT_BACKEND_H_ | 112 #endif // PRINTING_BACKEND_PRINT_BACKEND_H_ |
OLD | NEW |