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

Unified Diff: components/spellcheck/common/spellcheck_messages.h

Issue 2857353002: Convert Spellcheck host MessageFilter IPC to mojo (Closed)
Patch Set: Use MakeUnique for the MessageLoop in TestingSpellCheckProvider. Created 3 years, 7 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 | « components/spellcheck/common/spellcheck.typemap ('k') | components/spellcheck/renderer/hunspell_engine.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/spellcheck/common/spellcheck_messages.h
diff --git a/components/spellcheck/common/spellcheck_messages.h b/components/spellcheck/common/spellcheck_messages.h
index e8e83a8f026ef7db0716426cd71ee50d78ed851c..fbb69e48b851f129e2016533bc4911ceed4dd715 100644
--- a/components/spellcheck/common/spellcheck_messages.h
+++ b/components/spellcheck/common/spellcheck_messages.h
@@ -12,7 +12,7 @@
#include "ipc/ipc_message_macros.h"
#if !BUILDFLAG(ENABLE_SPELLCHECK)
-#error "Spellcheck should be enabled"
+#error "Spellcheck should be enabled."
#endif
#define IPC_MESSAGE_START SpellCheckMsgStart
@@ -28,18 +28,6 @@ IPC_STRUCT_TRAITS_END()
// Messages sent from the browser to the renderer.
-#if !BUILDFLAG(USE_BROWSER_SPELLCHECKER)
-// Sends text-check results from the Spelling service when the service finishes
-// checking text received 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 sentence.
-IPC_MESSAGE_ROUTED4(SpellCheckMsg_RespondSpellingService,
- int /* request identifier given by WebKit */,
- bool /* succeeded calling service */,
- base::string16 /* sentence */,
- std::vector<SpellCheckResult>)
-#endif
-
#if BUILDFLAG(USE_BROWSER_SPELLCHECKER)
// Sends when NSSpellChecker finishes checking text received by a preceding
// SpellCheckHostMsg_RequestTextCheck message.
@@ -59,26 +47,6 @@ IPC_MESSAGE_ROUTED1(SpellCheckMsg_ToggleSpellPanel, bool)
// Messages sent from the renderer to the browser.
-// The renderer has tried to spell check a word, but couldn't because no
-// dictionary was available to load. Request that the browser find an
-// appropriate dictionary and return it.
-IPC_MESSAGE_CONTROL0(SpellCheckHostMsg_RequestDictionary)
-
-// Tracks spell checking occurrence to collect histogram.
-IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_NotifyChecked,
- base::string16 /* word */,
- bool /* true if checked word is misspelled */)
-
-#if !BUILDFLAG(USE_BROWSER_SPELLCHECKER)
-// Asks the Spelling service to check text. When the service finishes checking
-// the input text, it sends a SpellingCheckMsg_RespondSpellingService with
-// text-check results.
-IPC_MESSAGE_CONTROL3(SpellCheckHostMsg_CallSpellingService,
- int /* route_id for response */,
- int /* request identifier given by WebKit */,
- base::string16 /* sentence */)
-#endif
-
#if BUILDFLAG(USE_BROWSER_SPELLCHECKER)
// TODO(groby): This needs to originate from SpellcheckProvider.
IPC_SYNC_MESSAGE_CONTROL2_1(SpellCheckHostMsg_CheckSpelling,
« no previous file with comments | « components/spellcheck/common/spellcheck.typemap ('k') | components/spellcheck/renderer/hunspell_engine.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698