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

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: cleaning code Created 8 years 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 26abedb3459588c3d79af80b1600e307e8ef14ec..3623e6fed04c4aaaa29c6e32f8d073679bc9f8b4 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"
groby-ooo-7-16 2012/12/21 22:18:13 Prebinding of type would allow us to get rid of th
rpetterson 2013/01/04 00:05:34 Unfortunately not since we still need to include t
#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
@@ -54,6 +54,7 @@ class SpellingMenuObserver : public RenderViewContextMenuObserver {
void OnTextCheckComplete(
int tag,
bool success,
+ SpellingServiceClient::ServiceType type,
const string16& text,
const std::vector<SpellCheckResult>& results);

Powered by Google App Engine
This is Rietveld 408576698