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.
5 #include "pdf/pdf_features.h"
7 #include "build/chromeos_buildflags.h"
12 const base::Feature kAccessiblePDFForm = {"AccessiblePDFForm",
13 base::FEATURE_DISABLED_BY_DEFAULT};
15 // "Incremental loading" refers to loading the PDF as it arrives.
16 // TODO(crbug.com/1064175): Remove this once incremental loading is fixed.
17 const base::Feature kPdfIncrementalLoading = {
18 "PdfIncrementalLoading", base::FEATURE_DISABLED_BY_DEFAULT};
20 // "Partial loading" refers to loading only specific parts of the PDF.
21 // TODO(crbug.com/1064175): Remove this once partial loading is fixed.
22 const base::Feature kPdfPartialLoading = {"PdfPartialLoading",
23 base::FEATURE_DISABLED_BY_DEFAULT};
25 const base::Feature kPdfViewerDocumentProperties = {
26 "PdfViewerDocumentProperties", base::FEATURE_DISABLED_BY_DEFAULT};
28 const base::Feature kPdfViewerPresentationMode = {
29 "PdfViewerPresentationMode", base::FEATURE_ENABLED_BY_DEFAULT};
31 // Feature has no effect if Chrome is built with no XFA support.
32 const base::Feature kPdfXfaSupport = {"PdfXfaSupport",
33 base::FEATURE_DISABLED_BY_DEFAULT};
35 const base::Feature kTabAcrossPDFAnnotations = {
36 "TabAcrossPDFAnnotations", base::FEATURE_ENABLED_BY_DEFAULT};
38 } // namespace features
39 } // namespace chrome_pdf