Lines Matching refs:misspelling
8 // Stores feedback for the spelling service in |Misspelling| objects. Each
9 // |Misspelling| object is identified by a |hash| and corresponds to a document
19 #include "chrome/browser/spellchecker/misspelling.h"
25 // feedback.AddMisspelling(renderer_process_id, Misspelling(
37 // Returns the misspelling identified by |hash|. Returns NULL if there's no
38 // misspelling identified by |hash|. Retains the ownership of the result. The
39 // caller should not modify the hash in the returned misspelling.
40 Misspelling* GetMisspelling(uint32 hash);
54 std::vector<Misspelling> GetMisspellingsInRenderer(
61 // Returns true if there's a misspelling with |hash| identifier.
64 // Adds the |misspelling| to feedback data. If the |misspelling| has a
65 // duplicate hash, then replaces the existing misspelling with the same hash.
66 void AddMisspelling(int renderer_process_id, const Misspelling& misspelling);
78 std::vector<Misspelling> GetAllMisspellings() const;
83 // Returns a list of all misspelling identifiers for |misspelled_text|.
88 typedef std::map<uint32, Misspelling> HashMisspellingMap;