• rouslan's avatar
    [mac] Send the system spellchecker language to the renderer. · ff659a20
    rouslan authored
    The browser process sends the system spellchecker language to the
    renderer to initialize its text breaker. The text breaker is used when
    providing suggestions in the context menu. If the text breaker is not
    initialized, the menu has no suggestions.
    
    The browser saves the system spellchecker language into the unsynced
    preference prefs::kSpellCheckDictionaries. This preference is also used
    by the spelling service client. If the preference is empty, then the
    client is disabled.
    
    BUG=577835
    
    Review URL: https://codereview.chromium.org/1602303002
    
    Cr-Commit-Position: refs/heads/master@{#371605}
    ff659a20
spellcheck_platform_mac.mm 10.9 KB