Index: chrome/browser/tab_contents/spelling_menu_observer.h |
diff --git a/chrome/browser/tab_contents/spelling_menu_observer.h b/chrome/browser/tab_contents/spelling_menu_observer.h |
index 03c2c4ed3bc631c01086dab8f171dedecd079bbb..f2bdbb0826bed0c4bd037dd307fe3eb8445de8e8 100644 |
--- a/chrome/browser/tab_contents/spelling_menu_observer.h |
+++ b/chrome/browser/tab_contents/spelling_menu_observer.h |
@@ -48,6 +48,7 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver { |
virtual bool IsCommandIdChecked(int command_id) OVERRIDE; |
virtual bool IsCommandIdEnabled(int command_id) OVERRIDE; |
virtual void ExecuteCommand(int command_id) OVERRIDE; |
+ virtual void OnMenuCancel() OVERRIDE; |
// A callback function called when the Spelling service finishes checking a |
// misspelled word. |
@@ -87,6 +88,10 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver { |
// this word to the custom-word dictionary. |
string16 misspelled_word_; |
+ // The hash identifier for the misspelled word. Used for collecting user |
+ // feedback to spellcheck suggestions. |
+ uint32 misspelling_hash_; |
+ |
// The string representing the result of this call. This string is a |
// suggestion when this call finished successfully. Otherwise it is error |
// text. Until we receive a response from the Spelling service, this string |