Notify user on spell check dictionary download failure
commitb1567305444991386730089f15fcfe04665f4796
authorrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Jan 2013 00:14:46 +0000 (25 00:14 +0000)
committerrouslan@chromium.org <rouslan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Jan 2013 00:14:46 +0000 (25 00:14 +0000)
tree255d575d6192509b939c631d513db9717891594c
parentb23a950f022d28dfac58e0fa9fa400e65b9a6e56
Notify user on spell check dictionary download failure

This CL shows an error message on chrome://settings/languages page when Chrome  could not download the spell check dictionary. The message reads "Spell check   dictionary download failed." Below the message is a "Retry" button that the user
can click to retry downloading the spell check dictionary. If the download fails
more than once, then Chrome adds: "Please check with your network administrator
to make sure that the firewall is not blocking downloads from Google servers."
If download is in progress, then the message says "Downloading spell check
dictionary..."

BUG=164532

Review URL: https://chromiumcodereview.appspot.com/11804003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178704 0039d316-1c4b-4281-b951-d872f2087c98
14 files changed:
chrome/app/generated_resources.grd
chrome/browser/resources/options/language_options.css
chrome/browser/resources/options/language_options.html
chrome/browser/resources/options/language_options.js
chrome/browser/spellchecker/spellcheck_hunspell_dictionary.cc
chrome/browser/spellchecker/spellcheck_hunspell_dictionary.h
chrome/browser/spellchecker/spellcheck_service.cc
chrome/browser/spellchecker/spellcheck_service.h
chrome/browser/ui/webui/options/language_dictionary_overlay_handler.cc
chrome/browser/ui/webui/options/language_dictionary_overlay_handler.h
chrome/browser/ui/webui/options/language_options_dictionary_download_browsertest.js [new file with mode: 0644]
chrome/browser/ui/webui/options/language_options_handler_common.cc
chrome/browser/ui/webui/options/language_options_handler_common.h
chrome/chrome_tests.gypi