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

Unified Diff: chrome/common/spellcheck_messages.h

Issue 9169082: Asynchronous spellchecking on Win and Linux (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Build fix Created 8 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 | « chrome/browser/spellchecker/spellcheck_message_filter.cc ('k') | chrome/renderer/spellchecker/spellcheck.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/spellcheck_messages.h
diff --git a/chrome/common/spellcheck_messages.h b/chrome/common/spellcheck_messages.h
index 31c614cdbf94d2ac58b611b9442d8f53af76f1ec..300838f4fbf53736a056738014712874cdb59f40 100644
--- a/chrome/common/spellcheck_messages.h
+++ b/chrome/common/spellcheck_messages.h
@@ -46,9 +46,13 @@ IPC_MESSAGE_CONTROL1(SpellCheckMsg_EnableAutoSpellCorrect,
#if !defined(OS_MACOSX)
// Sends text-check results from the Spelling service when the service finishes
// checking text reveived by a SpellCheckHostMsg_CallSpellingService message.
-IPC_MESSAGE_ROUTED3(SpellCheckMsg_RespondSpellingService,
- int /* request identifier given by WebKit */,
- int /* offset */,
+// If the service is not available, the 4th parameter should be false and
+// the 5th parameter should contain the requested setence.
+IPC_MESSAGE_ROUTED5(SpellCheckMsg_RespondSpellingService,
+ int /* request identifier given by WebKit */,
+ int /* offset */,
+ bool /* succeeded calling serivce */,
+ string16 /* sentence */,
std::vector<SpellCheckResult>)
#endif
« no previous file with comments | « chrome/browser/spellchecker/spellcheck_message_filter.cc ('k') | chrome/renderer/spellchecker/spellcheck.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698