WebLayer: handle locale changes and multiple locales
Set ACCEPT_LANGUAGES based on the entire locale list, rather than just the top locale. It also updates ACCEPT_LANGUAGES when the list changes, rather than just once at startup. Navigator.language and .languages are likewise updated. The ResourceBundle now loads new strings as well, although WebLayer only packs English strings at the moment. Bug: 1025064 Change-Id: I18997eb20c883a976edf624c0a5f45b5f012aff3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1924722 Commit-Queue: Evan Stade <estade@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Reviewed-by:
Clark DuVall <cduvall@chromium.org> Cr-Commit-Position: refs/heads/master@{#718508}
Showing
Please register or sign in to comment