summaryrefslogtreecommitdiffstats
path: root/chrome/common/spellcheck_common.h
Commit message (Collapse)AuthorAgeFilesLines
* Add HasWord(string) method to SpellcheckCustomDictionaryrouslan@chromium.org2013-05-291-0/+2
| | | | | | | | | | | | | | | | | | | This CL adds a method HasWord(string) to SpellcheckCustomDictionary and changes the internal data structure in SpellcheckCustomDictionary from a vector to a set for more efficient querying. Spelling service client will use the new method to send IN_DICTIONARY feedback to spelling service for words that are in user's custom spellcheck dictionary. Spelling service client will use this method in upcoming CLs. This CL also modifies IPC message "SpellCheckMsg_Init" to pass a set instead of a vector of custom dictionary words. The browser sends this message to the renderer to initialize spellcheck. BUG=170514 Review URL: https://chromiumcodereview.appspot.com/15940004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@202722 0039d316-1c4b-4281-b951-d872f2087c98
* Add ability to send feedback for spelling servicerouslan@chromium.org2013-05-211-0/+8
| | | | | | | | | | | | | This CL adds the ability to send user feedback for spelling suggestions from spelling service. This feedback will be used to improve the spelling suggestions. The feedback will be collected in a follow-up CL. This CL does not actually send out feedback, because no feedback is collected yet. BUG=170514 Review URL: https://chromiumcodereview.appspot.com/14721010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@201246 0039d316-1c4b-4281-b951-d872f2087c98
* Move GetISOLanguageCountryCodeFromLocale() to common to be sharedrouslan@chromium.org2013-05-141-0/+8
| | | | | | | | | | | This CL moves GetISOLanguageCountryCodeFromLocale() to spellheck_common to be shared among spelling service client and spellcheck service. BUG=170514 Review URL: https://chromiumcodereview.appspot.com/14876027 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@199913 0039d316-1c4b-4281-b951-d872f2087c98
* Periodically request a list of spellcheck markers in all renderers for feedbackrouslan@chromium.org2013-05-021-0/+3
| | | | | | | | | | | | | | | This CL adds a class SpellingServiceFeedback that will be used for sending feedback to the spelling service. There's one instance of this class per profile. SpellcheckService owns the SpellingServiceFeedback instance. SpellingServiceFeedback periodically requests a list of all document markers in the renderers. It will use the list to determine the kinds of feedback to send to the spelling service. BUG=170514 Review URL: https://chromiumcodereview.appspot.com/14126015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@197779 0039d316-1c4b-4281-b951-d872f2087c98
* Add FilePath to base namespace.brettw@chromium.org2013-02-021-2/+4
| | | | | | | This updates headers that forward-declare it and a few random places to use the namespace explicitly. There us a using declaration in file_path.h that makes the rest compile, which we can do in future passes. Review URL: https://codereview.chromium.org/12163003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@180245 0039d316-1c4b-4281-b951-d872f2087c98
* Sync user's custom spellcheck dictionaryrouslan@chromium.org2013-01-231-0/+8
| | | | | | | | | | | | | | This CL is initial work for for syncing user dictionary across multiple computers. The sync is hidden behind --enable-sync-dictionary flag for now. Do not flip this flag unless your are connected to a sync server that supports dictionary sync. If you don't know whether your sync server supports dictionary sync, then most likely it does not. BUG=51636 Review URL: https://chromiumcodereview.appspot.com/11445002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@178178 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling custom dictionary out of spellcheck_profile as prep to combine ↵rlp@chromium.org2012-10-261-0/+2
| | | | | | | | | | | | | | profile and host. BUG=154921 TBR=sky@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=164142 Review URL: https://chromiumcodereview.appspot.com/11175041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164358 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 164142 - Pulling custom dictionary out of spellcheck_profile as prep ↵jhorwich@chromium.org2012-10-251-2/+0
| | | | | | | | | | | | | | | | | to combine profile and host. (check_perms flagged the added files) BUG=154921 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11175041 TBR=rlp@chromium.org Review URL: https://codereview.chromium.org/11269057 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164152 0039d316-1c4b-4281-b951-d872f2087c98
* Pulling custom dictionary out of spellcheck_profile as prep to combine ↵rlp@chromium.org2012-10-251-0/+2
| | | | | | | | | | | | profile and host. BUG=154921 TBR=sky@chromium.org Review URL: https://chromiumcodereview.appspot.com/11175041 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@164142 0039d316-1c4b-4281-b951-d872f2087c98
* Remove the rest of #pragma once in one big CL.ajwong@chromium.org2012-07-111-1/+0
| | | | | | | | | For context see this thread: https://groups.google.com/a/chromium.org/forum/?fromgroups#!topic/chromium-dev/RMcVNGjB4II TBR=thakis,pkasting,jam git-svn-id: svn://svn.chromium.org/chrome/trunk/src@146163 0039d316-1c4b-4281-b951-d872f2087c98
* Rename SpellCheckCommon namespace to chrome.tfarina@chromium.org2012-06-201-3/+5
| | | | | | | | | BUG=133126,133088 R=ben@chromium.org Review URL: https://chromiumcodereview.appspot.com/10573017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143200 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 79705 - Revert 79651 - Coverity: Pass parameters by reference.dhollowa@chromium.org2011-03-291-7/+1
| | | | | | | | | | | | | | | | | | | | | Also remove an unused function that I found. CID=2634,4471,5392,6433,6434,6535,6777,6780,6781,6792,6810,7665,7759,8056,8072, 8637,8718,8726 BUG=none TEST=non R=csilv@chromium.org Review URL: http://codereview.chromium.org/6730046 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/6773015 TBR=dhollowa@chromium.org Review URL: http://codereview.chromium.org/6772013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79714 0039d316-1c4b-4281-b951-d872f2087c98
* Revert 79651 - Coverity: Pass parameters by reference.dhollowa@chromium.org2011-03-291-1/+7
| | | | | | | | | | | | | | | | | | Also remove an unused function that I found. CID=2634,4471,5392,6433,6434,6535,6777,6780,6781,6792,6810,7665,7759,8056,8072, 8637,8718,8726 BUG=none TEST=non R=csilv@chromium.org Review URL: http://codereview.chromium.org/6730046 TBR=jhawkins@chromium.org Review URL: http://codereview.chromium.org/6773015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79705 0039d316-1c4b-4281-b951-d872f2087c98
* Coverity: Pass parameters by reference.jhawkins@chromium.org2011-03-291-7/+1
| | | | | | | | | | | | | | | Also remove an unused function that I found. CID=2634,4471,5392,6433,6434,6535,6777,6780,6781,6792,6810,7665,7759,8056,8072, 8637,8718,8726 BUG=none TEST=non R=csilv@chromium.org Review URL: http://codereview.chromium.org/6730046 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@79651 0039d316-1c4b-4281-b951-d872f2087c98
* `#pragma once` for app, base, chrome, gfx, ipc, net, skia, viewsthakis@chromium.org2010-07-261-0/+1
| | | | | | | | | BUG=50273 TEST=everything still builds, build is 10% faster on windows, same speed on mac/linux TBR: erg git-svn-id: svn://svn.chromium.org/chrome/trunk/src@53716 0039d316-1c4b-4281-b951-d872f2087c98
* Move Mac to using renderer spellchecker.estade@chromium.org2009-11-191-0/+36
BUG=25677 Review URL: http://codereview.chromium.org/395007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@32561 0039d316-1c4b-4281-b951-d872f2087c98