pdf_features.cc 1.3 KB

12345678910111213141516171819202122232425262728293031
  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 "pdf/pdf_features.h"
  5. namespace chrome_pdf {
  6. namespace features {
  7. const base::Feature kAccessiblePDFForm = {"AccessiblePDFForm",
  8. base::FEATURE_DISABLED_BY_DEFAULT};
  9. // "Incremental loading" refers to loading the PDF as it arrives.
  10. // TODO(crbug.com/1064175): Remove this once incremental loading is fixed.
  11. const base::Feature kPdfIncrementalLoading = {
  12. "PdfIncrementalLoading", base::FEATURE_DISABLED_BY_DEFAULT};
  13. // "Partial loading" refers to loading only specific parts of the PDF.
  14. // TODO(crbug.com/1064175): Remove this once partial loading is fixed.
  15. const base::Feature kPdfPartialLoading = {"PdfPartialLoading",
  16. base::FEATURE_DISABLED_BY_DEFAULT};
  17. // Feature has no effect if Chrome is built with no XFA support.
  18. const base::Feature kPdfXfaSupport = {"PdfXfaSupport",
  19. base::FEATURE_DISABLED_BY_DEFAULT};
  20. const base::Feature kTabAcrossPDFAnnotations = {
  21. "TabAcrossPDFAnnotations", base::FEATURE_ENABLED_BY_DEFAULT};
  22. } // namespace features
  23. } // namespace chrome_pdf