printing_restrictions.cc 905 B

1234567891011121314151617181920212223242526
  1. // Copyright 2018 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. #include "printing/backend/printing_restrictions.h"
  5. #include "build/build_config.h"
  6. namespace printing {
  7. #if BUILDFLAG(IS_CHROMEOS)
  8. const char kAllowedColorModes[] = "allowedColorModes";
  9. const char kAllowedDuplexModes[] = "allowedDuplexModes";
  10. const char kAllowedPinModes[] = "allowedPinModes";
  11. const char kDefaultColorMode[] = "defaultColorMode";
  12. const char kDefaultDuplexMode[] = "defaultDuplexMode";
  13. const char kDefaultPinMode[] = "defaultPinMode";
  14. #endif // BUILDFLAG(IS_CHROMEOS)
  15. const char kPaperSizeName[] = "name";
  16. const char kPaperSizeNameCustomOption[] = "custom";
  17. const char kPaperSizeCustomSize[] = "custom_size";
  18. const char kPaperSizeWidth[] = "width";
  19. const char kPaperSizeHeight[] = "height";
  20. } // namespace printing