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

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

Issue 11635063: [Spellcheck] Removing the "no more suggestions from Google" line when using the spelling service (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: responding to comments (browsertest, prebind) Created 7 years, 12 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/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 53af3b54fd1a9a3b275d892b97f27ccaa95f7bbd..e78d9d370e96aad01475988ccf3ec7ad48f9327f 100644
--- a/chrome/browser/tab_contents/spelling_menu_observer.h
+++ b/chrome/browser/tab_contents/spelling_menu_observer.h
@@ -12,11 +12,11 @@
#include "base/prefs/public/pref_member.h"
#include "base/string16.h"
#include "base/timer.h"
+#include "chrome/browser/spellchecker/spelling_service_client.h"
#include "chrome/browser/tab_contents/render_view_context_menu_observer.h"
class RenderViewContextMenuProxy;
struct SpellCheckResult;
-class SpellingServiceClient;
// An observer that listens to events from the RenderViewContextMenu class and
// shows suggestions from the Spelling ("do you mean") service to a context menu
@@ -52,7 +52,7 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver {
// A callback function called when the Spelling service finishes checking a
// misspelled word.
void OnTextCheckComplete(
- int tag,
+ SpellingServiceClient::ServiceType type,
bool success,
const string16& text,
const std::vector<SpellCheckResult>& results);
« no previous file with comments | « chrome/browser/spellchecker/spelling_service_client_unittest.cc ('k') | chrome/browser/tab_contents/spelling_menu_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698