Home | History | Annotate | Download | only in spellchecker

Lines Matching refs:Change

30   // A change to the dictionary.
31 class Change {
33 Change();
34 Change(const Change& other);
35 explicit Change(const chrome::spellcheck_common::WordList& to_add);
36 ~Change();
38 // Adds |word| in this change.
41 // Removes |word| in this change.
44 // Prepares this change to be applied to |words| by removing duplicate and
50 // Returns the words to be added in this change.
53 // Returns the words to be removed in this change.
67 // Interface to implement for dictionary load and change observers.
74 virtual void OnCustomDictionaryChanged(const Change& dictionary_change) = 0;
84 // observers of the change. Returns true if |word| is valid and not a
89 // observers of the change. Returns true if |word| was found. Otherwise
134 // Applies the change in |dictionary_change| to the custom spellcheck
137 const Change& dictionary_change,
148 void Apply(const Change& dictionary_change);
152 void Save(const Change& dictionary_change);
157 syncer::SyncError Sync(const Change& dictionary_change);
159 // Notifies observers of the dictionary change if the dictionary has been
161 void Notify(const Change& dictionary_change);