summaryrefslogtreecommitdiff
path: root/chromium/pdf/pdf_features.cc
blob: df8ae4c88ab615a19e0a371b03b819a675083f97 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Copyright 2018 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "pdf/pdf_features.h"

namespace chrome_pdf {
namespace features {

const base::Feature kAccessiblePDFForm = {"AccessiblePDFForm",
                                          base::FEATURE_DISABLED_BY_DEFAULT};

const base::Feature kAccessiblePDFHighlight = {
    "AccessiblePDFHighlight", base::FEATURE_ENABLED_BY_DEFAULT};

const base::Feature kPdfHonorJsContentSettings = {
    "PdfHonorJsContentSettings", base::FEATURE_DISABLED_BY_DEFAULT};

const base::Feature kPDFTwoUpView = {"PDFTwoUpView",
                                     base::FEATURE_DISABLED_BY_DEFAULT};

const base::Feature kPDFViewerUpdate = {"PDFViewerUpdate",
                                        base::FEATURE_DISABLED_BY_DEFAULT};

const base::Feature kSaveEditedPDFForm = {"SaveEditedPDFForm",
#if defined(OS_CHROMEOS)
                                          base::FEATURE_ENABLED_BY_DEFAULT
#else
                                          base::FEATURE_DISABLED_BY_DEFAULT
#endif  // defined(OS_CHROMEOS)
};

const base::Feature kTabAcrossPDFAnnotations = {
    "TabAcrossPDFAnnotations", base::FEATURE_ENABLED_BY_DEFAULT};

}  // namespace features
}  // namespace chrome_pdf