Index: chrome/browser/about_flags.cc |
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc |
index 6223b4d62a02b651ce45568752a0160233dcd570..7003a9dec84ceb50db045e201a064f82189cf5c1 100644 |
--- a/chrome/browser/about_flags.cc |
+++ b/chrome/browser/about_flags.cc |
@@ -528,10 +528,18 @@ const FeatureEntry::Choice kCrosRegionsModeChoices[] = { |
const FeatureEntry::Choice kForceUIDirectionChoices[] = { |
{flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
- {flag_descriptions::kForceUiDirectionLtr, switches::kForceUIDirection, |
- switches::kForceUIDirectionLTR}, |
- {flag_descriptions::kForceUiDirectionRtl, switches::kForceUIDirection, |
- switches::kForceUIDirectionRTL}, |
+ {flag_descriptions::kForceDirectionLtr, switches::kForceUIDirection, |
+ switches::kForceDirectionLTR}, |
+ {flag_descriptions::kForceDirectionRtl, switches::kForceUIDirection, |
+ switches::kForceDirectionRTL}, |
+}; |
+ |
+const FeatureEntry::Choice kForceTextDirectionChoices[] = { |
+ {flags_ui::kGenericExperimentChoiceDefault, "", ""}, |
+ {flag_descriptions::kForceDirectionLtr, switches::kForceTextDirection, |
+ switches::kForceDirectionLTR}, |
+ {flag_descriptions::kForceDirectionRtl, switches::kForceTextDirection, |
+ switches::kForceDirectionRTL}, |
}; |
#if defined(OS_ANDROID) |
@@ -2077,6 +2085,9 @@ const FeatureEntry kFeatureEntries[] = { |
{"force-ui-direction", flag_descriptions::kForceUiDirectionName, |
flag_descriptions::kForceUiDirectionDescription, kOsAll, |
MULTI_VALUE_TYPE(kForceUIDirectionChoices)}, |
+ {"force-text-direction", flag_descriptions::kForceTextDirectionName, |
+ flag_descriptions::kForceTextDirectionDescription, kOsAll, |
+ MULTI_VALUE_TYPE(kForceTextDirectionChoices)}, |
#if BUILDFLAG(ENABLE_EXTENSIONS) |
{"enable-md-extensions", |
flag_descriptions::kEnableMaterialDesignExtensionsName, |