summaryrefslogtreecommitdiffstats
path: root/chrome/common/spellcheck_messages.h
diff options
context:
space:
mode:
authorgroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 23:42:05 +0000
committergroby@chromium.org <groby@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-11 23:42:05 +0000
commit44ad80d30d426b7d089624d61a74b33733710591 (patch)
tree9116b2654ee574f7cb09d1200ae40043d91f6436 /chrome/common/spellcheck_messages.h
parente0f2bd7522f4c2ef7be89e104ff73550f3e56e94 (diff)
downloadchromium_src-44ad80d30d426b7d089624d61a74b33733710591.zip
chromium_src-44ad80d30d426b7d089624d61a74b33733710591.tar.gz
chromium_src-44ad80d30d426b7d089624d61a74b33733710591.tar.bz2
[Spellcheck] Make sure context menu and actual spellcheck state are in sync.
R=rlp@chromium.org,tsepez@chromium.org,brettw@chromium.org BUG=162498,162342 Review URL: https://chromiumcodereview.appspot.com/11476005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@172456 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/common/spellcheck_messages.h')
-rw-r--r--chrome/common/spellcheck_messages.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/chrome/common/spellcheck_messages.h b/chrome/common/spellcheck_messages.h
index 75dcc1c..e6036b7 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 */,