Index: chrome/browser/renderer_context_menu/spelling_menu_observer.h |
diff --git a/chrome/browser/renderer_context_menu/spelling_menu_observer.h b/chrome/browser/renderer_context_menu/spelling_menu_observer.h |
index e79b1e09bf488ea073257870aab8101948c765a1..a29965de2f727d95129101daa737c520e87fadaf 100644 |
--- a/chrome/browser/renderer_context_menu/spelling_menu_observer.h |
+++ b/chrome/browser/renderer_context_menu/spelling_menu_observer.h |
@@ -48,6 +48,7 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver { |
bool IsCommandIdChecked(int command_id) override; |
bool IsCommandIdEnabled(int command_id) override; |
void ExecuteCommand(int command_id) override; |
+ 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. |
base::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 |