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

Unified Diff: chrome/common/spellcheck_messages.h

Issue 11476005: [Spellcheck] Make sure context menu and actual spellcheck state are in sync. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Review fixes. Created 8 years 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
diff --git a/chrome/common/spellcheck_messages.h b/chrome/common/spellcheck_messages.h
index 75dcc1c6146bdb92914d187baeb1a563bfb2d3b6..e6036b70298463f3475bd647aa4b56033db64130 100644
--- a/chrome/common/spellcheck_messages.h
+++ b/chrome/common/spellcheck_messages.h
@@ -23,7 +23,8 @@ IPC_STRUCT_TRAITS_END()
// Messages sent from the browser to the renderer.
-IPC_MESSAGE_ROUTED0(SpellCheckMsg_ToggleSpellCheck)
+IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableSpellCheck,
+ bool)
// Passes some initialization params to the renderer's spellchecker. This can
// be called directly after startup or in (async) response to a
@@ -52,7 +53,7 @@ IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableAutoSpellCorrect,
// Sends text-check results from the Spelling service when the service finishes
// checking text reveived by a SpellCheckHostMsg_CallSpellingService message.
// If the service is not available, the 4th parameter should be false and
-// the 5th parameter should contain the requested setence.
+// the 5th parameter should contain the requested sentence.
IPC_MESSAGE_ROUTED5(SpellCheckMsg_RespondSpellingService,
int /* request identifier given by WebKit */,
int /* offset */,
« no previous file with comments | « chrome/browser/tab_contents/spellchecker_submenu_observer_mac.cc ('k') | chrome/renderer/spellchecker/spellcheck.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698