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

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

Issue 10536190: Use WebFrame::replaceMisspelledRange() to replace a misspelled range with text. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 6 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 | « chrome/common/spellcheck_messages.h ('k') | 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 142279)
+++ chrome/renderer/spellchecker/spellcheck_provider.h (working copy)
@@ -77,6 +77,11 @@
virtual void updateSpellingUIWithMisspelledWord(
const WebKit::WebString& word) OVERRIDE;
+ // Replaces the misspelling range that convers the cursor with the specified
Avi (use Gerrit) 2012/06/15 14:36:30 s/convers/covers/
Hironori Bono 2012/06/18 03:44:00 Done. Thanks for noticing this typo.
+ // text. This function does not do anything if there are not any misspelling
+ // ranges that covers the cursor.
+ void OnReplace(const string16& text);
+
#if !defined(OS_MACOSX)
void OnRespondSpellingService(
int identifier,
« no previous file with comments | « chrome/common/spellcheck_messages.h ('k') | chrome/renderer/spellchecker/spellcheck_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698