fix: support new PDF viewer update (#26010)
This commit is contained in:
parent
64504536fa
commit
88508d5166
1 changed files with 5 additions and 0 deletions
|
@ -63,6 +63,11 @@ void AddStringsForPdf(base::DictionaryValue* dict) {
|
|||
|
||||
void AddAdditionalDataForPdf(base::DictionaryValue* dict) {
|
||||
#if BUILDFLAG(ENABLE_PDF)
|
||||
dict->SetStringKey(
|
||||
"pdfViewerUpdateEnabledAttribute",
|
||||
base::FeatureList::IsEnabled(chrome_pdf::features::kPDFViewerUpdate)
|
||||
? "pdf-viewer-update-enabled"
|
||||
: "");
|
||||
dict->SetKey("pdfFormSaveEnabled",
|
||||
base::Value(base::FeatureList::IsEnabled(
|
||||
chrome_pdf::features::kSaveEditedPDFForm)));
|
||||
|
|
Loading…
Reference in a new issue