forked from Pissandshittium/pissandshittium
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpdf_features.cc
36 lines (28 loc) · 1.18 KB
/
pdf_features.cc
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
// Copyright 2018 The Chromium Authors
// 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 {
BASE_FEATURE(kAccessiblePDFForm,
"AccessiblePDFForm",
base::FEATURE_DISABLED_BY_DEFAULT);
// "Incremental loading" refers to loading the PDF as it arrives.
// TODO(crbug.com/1064175): Remove this once incremental loading is fixed.
BASE_FEATURE(kPdfIncrementalLoading,
"PdfIncrementalLoading",
base::FEATURE_DISABLED_BY_DEFAULT);
// "Partial loading" refers to loading only specific parts of the PDF.
// TODO(crbug.com/1064175): Remove this once partial loading is fixed.
BASE_FEATURE(kPdfPartialLoading,
"PdfPartialLoading",
base::FEATURE_DISABLED_BY_DEFAULT);
BASE_FEATURE(kPdfUseSkiaRenderer,
"PdfUseSkiaRenderer",
base::FEATURE_DISABLED_BY_DEFAULT);
// Feature has no effect if Chrome is built with no XFA support.
BASE_FEATURE(kPdfXfaSupport,
"PdfXfaSupport",
base::FEATURE_DISABLED_BY_DEFAULT);
} // namespace features
} // namespace chrome_pdf