Support XCode's "Right to Left Pseudolanguage" on iOS.
XCode can run apps with a "Right to Left Pseudolanguage" application
language setting, which sets the AppleTextDirection user defaults
key. iOS will treat whatever the current language is as a RTL language
if this key is set. This CL adds a test for this key in
GetTextDirectionForLocale() so that g_icu_text_direction will agree
with iOS about what the current text direction is.
BUG=514625
Review URL: https://codereview.chromium.org/1254933002
Cr-Commit-Position: refs/heads/master@{#342590}
CrOS-Libchrome-Original-Commit: f51b003d2c2fe471c12ff992a9005c083565a177
1 file changed