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

Unified Diff: chrome/common/spellcheck_messages.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
Index: chrome/common/spellcheck_messages.h
===================================================================
--- chrome/common/spellcheck_messages.h (revision 142657)
+++ chrome/common/spellcheck_messages.h (working copy)
@@ -43,6 +43,10 @@
IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableAutoSpellCorrect,
bool /* enable */)
+// Replace the selected misspelled range with the specified suggestion.
+IPC_MESSAGE_ROUTED1(SpellCheckMsg_Replace,
+ string16)
+
#if !defined(OS_MACOSX)
// Sends text-check results from the Spelling service when the service finishes
// checking text reveived by a SpellCheckHostMsg_CallSpellingService message.
« no previous file with comments | « chrome/browser/tab_contents/spelling_menu_observer.cc ('k') | chrome/renderer/spellchecker/spellcheck_provider.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698