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

Unified Diff: chrome/renderer/spellchecker/spellcheck_provider.h

Issue 6813090: Chrome side needed for WebKit change to move the little remaining spellcheck code out of RenderView. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 8 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
« no previous file with comments | « no previous file | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/spellchecker/spellcheck_provider.h
===================================================================
--- chrome/renderer/spellchecker/spellcheck_provider.h (revision 81105)
+++ chrome/renderer/spellchecker/spellcheck_provider.h (working copy)
@@ -12,6 +12,9 @@
#include "content/renderer/render_view_observer.h"
#include "third_party/WebKit/Source/WebKit/chromium/public/WebSpellCheckClient.h"
+// TODO(jam): remove me once WEBSPELLCHECKCLIENT_HAS_SUGGESTIONS is rolled
+#include "third_party/WebKit/Source/WebKit/chromium/public/WebVector.h"
+
class RenderView;
class SpellCheck;
@@ -54,6 +57,12 @@
private:
// WebKit::WebSpellCheckClient implementation.
+ virtual void spellCheck(
+ const WebKit::WebString& text,
+ int& offset,
+ int& length,
+ WebKit::WebVector<WebKit::WebString>* optional_suggestions);
+ // TODO(jam): remove me once WEBSPELLCHECKCLIENT_HAS_SUGGESTIONS is rolled
virtual void spellCheck(const WebKit::WebString& text,
int& offset,
int& length);
« no previous file with comments | « no previous file | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698