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

Unified Diff: chrome/browser/spellchecker/spellcheck_message_filter.h

Issue 9368052: Removed WebTextCheckingResult legacy API use. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed a build break on Mac. Created 8 years, 10 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/spellchecker/spellcheck_message_filter.h
diff --git a/chrome/browser/spellchecker/spellcheck_message_filter.h b/chrome/browser/spellchecker/spellcheck_message_filter.h
index 17ddf2db62c6dfdf4e2d293c643d16f60cc5ef51..64d7dfcb170d30e50a99b653dbbce14d70e5909d 100644
--- a/chrome/browser/spellchecker/spellcheck_message_filter.h
+++ b/chrome/browser/spellchecker/spellcheck_message_filter.h
@@ -10,12 +10,9 @@
#include "base/memory/scoped_ptr.h"
#include "content/public/browser/browser_message_filter.h"
+class SpellCheckResult;
class SpellingServiceClient;
-namespace WebKit {
-struct WebTextCheckingResult;
-}
-
// A message filter implementation that receives spell checker requests from
// SpellCheckProvider.
class SpellCheckMessageFilter : public content::BrowserMessageFilter {
@@ -43,7 +40,7 @@ class SpellCheckMessageFilter : public content::BrowserMessageFilter {
// text. We send the given results to a renderer.
void OnTextCheckComplete(
int tag,
- const std::vector<WebKit::WebTextCheckingResult>& results);
+ const std::vector<SpellCheckResult>& results);
// Checks the user profile and sends a JSON-RPC request to the Spelling
// service if a user enables the "Ask Google for suggestions" option. When we

Powered by Google App Engine
This is Rietveld 408576698