| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 | 45 |
| 46 bool duplex_capable; | 46 bool duplex_capable; |
| 47 DuplexMode duplex_default; | 47 DuplexMode duplex_default; |
| 48 | 48 |
| 49 bool color_changeable; | 49 bool color_changeable; |
| 50 bool color_default; | 50 bool color_default; |
| 51 ColorModel color_model; | 51 ColorModel color_model; |
| 52 ColorModel bw_model; | 52 ColorModel bw_model; |
| 53 | 53 |
| 54 struct Paper { | 54 struct Paper { |
| 55 std::string name; | 55 std::string display_name; |
| 56 std::string vendor_id; |
| 56 gfx::Size size_um; | 57 gfx::Size size_um; |
| 57 }; | 58 }; |
| 58 std::vector<Paper> papers; | 59 std::vector<Paper> papers; |
| 59 Paper default_paper; | 60 Paper default_paper; |
| 60 | 61 |
| 61 std::vector<gfx::Size> dpis; | 62 std::vector<gfx::Size> dpis; |
| 62 gfx::Size default_dpi; | 63 gfx::Size default_dpi; |
| 63 }; | 64 }; |
| 64 | 65 |
| 65 struct PRINTING_EXPORT PrinterCapsAndDefaults { | 66 struct PRINTING_EXPORT PrinterCapsAndDefaults { |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 const base::DictionaryValue* print_backend_settings); | 116 const base::DictionaryValue* print_backend_settings); |
| 116 | 117 |
| 117 protected: | 118 protected: |
| 118 friend class base::RefCountedThreadSafe<PrintBackend>; | 119 friend class base::RefCountedThreadSafe<PrintBackend>; |
| 119 virtual ~PrintBackend(); | 120 virtual ~PrintBackend(); |
| 120 }; | 121 }; |
| 121 | 122 |
| 122 } // namespace printing | 123 } // namespace printing |
| 123 | 124 |
| 124 #endif // PRINTING_BACKEND_PRINT_BACKEND_H_ | 125 #endif // PRINTING_BACKEND_PRINT_BACKEND_H_ |
| OLD | NEW |