Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(151)

Unified Diff: chrome/browser/renderer_context_menu/spelling_menu_observer.h

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 0b4cc0a1353b4104df6efa0730239fb97bcc1ab7..fff2d4883203b8953e80cec0be7acf91d011c7ea 100644
--- a/chrome/browser/renderer_context_menu/spelling_menu_observer.h
+++ b/chrome/browser/renderer_context_menu/spelling_menu_observer.h
@@ -52,7 +52,6 @@ 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.
@@ -92,10 +91,6 @@ 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_t 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

Powered by Google App Engine
This is Rietveld 408576698