blob: ab53496f7ad8a825b60ea5ad22a8deaefe0e5a06 [file] [log] [blame]
Daniel Hosseinian7b57a422019-06-11 23:52:321// 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 Screen113d0142020-01-31 06:11:215#include "printing/printing_features.h"
Daniel Hosseinian7b57a422019-06-11 23:52:326
7namespace printing {
8namespace features {
9
Alan Screenc0060762019-11-22 17:52:0610#if defined(OS_WIN)
11// Use XPS for printing instead of GDI.
12const base::Feature kUseXpsForPrinting{"UseXpsForPrinting",
13 base::FEATURE_DISABLED_BY_DEFAULT};
Alan Screen49388112019-12-13 23:34:2114
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.
18const base::Feature kUseXpsForPrintingFromPdf{
19 "UseXpsForPrintingFromPdf", base::FEATURE_DISABLED_BY_DEFAULT};
Alan Screen113d0142020-01-31 06:11:2120#endif // defined(OS_WIN)
Alan Screenc0060762019-11-22 17:52:0621
Daniel Hosseinian7b57a422019-06-11 23:52:3222} // namespace features
23} // namespace printing