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
tree: 66575d38f0115c9379a48e23490fc726c04afb98
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/