Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 1 | // Copyright 2019 The Chromium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style license that can be |
| 3 | // found in the LICENSE file. |
| 4 | |
Alan Screen | 113d014 | 2020-01-31 06:11:21 | [diff] [blame^] | 5 | #include "printing/printing_features.h" |
Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 6 | |
| 7 | namespace printing { |
| 8 | namespace features { |
| 9 | |
Alan Screen | c006076 | 2019-11-22 17:52:06 | [diff] [blame] | 10 | #if defined(OS_WIN) |
| 11 | // Use XPS for printing instead of GDI. |
| 12 | const base::Feature kUseXpsForPrinting{"UseXpsForPrinting", |
| 13 | base::FEATURE_DISABLED_BY_DEFAULT}; |
Alan Screen | 4938811 | 2019-12-13 23:34:21 | [diff] [blame] | 14 | |
| 15 | // Use XPS for printing instead of GDI for printing PDF documents. This is |
| 16 | // independent of |kUseXpsForPrinting|; can use XPS for PDFs even if still using |
| 17 | // GDI for modifiable content. |
| 18 | const base::Feature kUseXpsForPrintingFromPdf{ |
| 19 | "UseXpsForPrintingFromPdf", base::FEATURE_DISABLED_BY_DEFAULT}; |
Alan Screen | 113d014 | 2020-01-31 06:11:21 | [diff] [blame^] | 20 | #endif // defined(OS_WIN) |
Alan Screen | c006076 | 2019-11-22 17:52:06 | [diff] [blame] | 21 | |
Daniel Hosseinian | 7b57a42 | 2019-06-11 23:52:32 | [diff] [blame] | 22 | } // namespace features |
| 23 | } // namespace printing |