Add a flag to always disable script injection for accessibility.
[email protected]
BUG=none
Review URL: https://codereview.chromium.org/103133005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238857 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 92272ef..8aca2c2 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1717,6 +1717,14 @@
kOsAndroid,
SINGLE_VALUE_TYPE(switches::kEnableAccessibilityTabSwitcher)
},
+ {
+ "disable-accessibility-script-injection",
+ IDS_FLAGS_DISABLE_ACCESSIBILITY_SCRIPT_INJECTION_NAME,
+ IDS_FLAGS_DISABLE_ACCESSIBILITY_SCRIPT_INJECTION_DESCRIPTION,
+ kOsAndroid,
+ // Java-only switch: ContentSwitches.DISABLE_ACCESSIBILITY_SCRIPT_INJECTION.
+ SINGLE_VALUE_TYPE("disable-accessibility-script-injection")
+ },
#endif
{
"map-image",