Add kAccessiblePDFForm feature flag in about:flags
Bug: 1030242
Change-Id: I1ec4145d993385ee06ac3718f9b80a8d88996ab0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2325528
Reviewed-by: Dominic Mazzoni <[email protected]>
Reviewed-by: Kevin Babbitt <[email protected]>
Commit-Queue: Ankit Kumar 🌪️ <[email protected]>
Cr-Commit-Position: refs/heads/master@{#795330}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c8a4833..4366ed43 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -4204,6 +4204,10 @@
FEATURE_VALUE_TYPE(features::kSplitPartiallyOccludedQuads)},
#if BUILDFLAG(ENABLE_PDF)
+ {"accessible-pdf-form", flag_descriptions::kAccessiblePDFFormName,
+ flag_descriptions::kAccessiblePDFFormDescription, kOsDesktop,
+ FEATURE_VALUE_TYPE(chrome_pdf::features::kAccessiblePDFForm)},
+
{"pdf-form-save", flag_descriptions::kPdfFormSaveName,
flag_descriptions::kPdfFormSaveDescription, kOsDesktop,
FEATURE_VALUE_TYPE(chrome_pdf::features::kSaveEditedPDFForm)},
diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
index e5e3e1b0..ea4effde 100644
--- a/chrome/browser/flag-metadata.json
+++ b/chrome/browser/flag-metadata.json
@@ -30,6 +30,11 @@
[
{
+ "name": "accessible-pdf-form",
+ "owners": [ "[email protected]", "[email protected]" ],
+ "expiry_milestone": 90
+ },
+ {
"name": "account-id-migration",
"owners": [ "msarda" ],
"expiry_milestone": 88
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
index 935470f..e3537a91 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
@@ -34,6 +34,12 @@
"Expose 'display: none' nodes that have an HTML ID to the browser process "
"accessibility tree.";
+#if BUILDFLAG(ENABLE_PLUGINS)
+const char kAccessiblePDFFormName[] = "Accessible PDF Forms";
+const char kAccessiblePDFFormDescription[] =
+ "Enables accessibility support for PDF forms.";
+#endif // BUILDFLAG(ENABLE_PLUGINS)
+
const char kAccountIdMigrationName[] = "Account ID migration";
const char kAccountIdMigrationDescription[] =
"Migrate to use Gaia ID instead of the email as the account identifer for "
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
index d84111d..328bb32 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
@@ -58,6 +58,11 @@
extern const char kAccessibilityExposeDisplayNoneName[];
extern const char kAccessibilityExposeDisplayNoneDescription[];
+#if BUILDFLAG(ENABLE_PLUGINS)
+extern const char kAccessiblePDFFormName[];
+extern const char kAccessiblePDFFormDescription[];
+#endif // BUILDFLAG(ENABLE_PLUGINS)
+
extern const char kAccountIdMigrationName[];
extern const char kAccountIdMigrationDescription[];