Index: chrome/common/notification_type.h |
=================================================================== |
--- chrome/common/notification_type.h (revision 32394) |
+++ chrome/common/notification_type.h (working copy) |
@@ -544,12 +544,6 @@ |
// Profile, and the details aren't used. |
BOOKMARK_MODEL_LOADED, |
- // Sent when the spellchecker object changes. Note that this is not sent |
- // the first time the spellchecker gets initialized. The source is the |
- // profile, the details is SpellcheckerReinitializedDetails defined in |
- // profile. |
- SPELLCHECKER_REINITIALIZED, |
- |
// Sent when SpellCheckHost has been reloaded. The source is the profile, |
// the details are NoDetails. |
SPELLCHECK_HOST_REINITIALIZED, |
@@ -558,6 +552,12 @@ |
// is the SpellCheckHost, the details are NoDetails. |
SPELLCHECK_WORD_ADDED, |
+ // Sent by the profile when the automatic spell correction setting has been |
+ // toggled. It exists as a notification rather than just letting interested |
+ // parties listen for the pref change because some objects may outlive the |
+ // profile. Source is profile, details is NoDetails. |
+ SPELLCHECK_AUTOSPELL_TOGGLED, |
+ |
// Sent when the bookmark bubble is shown for a particular URL. The source |
// is the profile, the details the URL. |
BOOKMARK_BUBBLE_SHOWN, |