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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.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/renderer/spellchecker/spellcheck_provider.h
diff --git a/chrome/renderer/spellchecker/spellcheck_provider.h b/chrome/renderer/spellchecker/spellcheck_provider.h
index 4fd79f06d605e1908425b858b3676ab9ba1b0773..0231c33b4aa1bd0f08b942a13448e23620e65acb 100644
--- a/chrome/renderer/spellchecker/spellcheck_provider.h
+++ b/chrome/renderer/spellchecker/spellcheck_provider.h
@@ -13,6 +13,7 @@
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSpellCheckClient.h"
class RenderView;
+class SpellCheckResult;
Hironori Bono 2012/02/16 04:22:45 nit: class -> struct.
namespace chrome {
class ChromeContentRendererClient;
@@ -81,13 +82,13 @@ class SpellCheckProvider : public content::RenderViewObserver,
void OnRespondSpellingService(
int identifier,
int tag,
- const std::vector<WebKit::WebTextCheckingResult>& results);
+ const std::vector<SpellCheckResult>& results);
#endif
#if defined(OS_MACOSX)
void OnRespondTextCheck(
int identifier,
int tag,
- const std::vector<WebKit::WebTextCheckingResult>& results);
+ const std::vector<SpellCheckResult>& results);
#endif
void OnToggleSpellCheck();
void OnToggleSpellPanel(bool is_currently_visible);

Powered by Google App Engine
This is Rietveld 408576698