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

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

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 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_marker.h ('k') | components/spellcheck/common/spellcheck_result.h » ('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 49ef8020c1fa0e4f648581751318938a3a9b71e4..958399026aaf05aecfe0ba440dfa7abdaa3a6de7 100644
--- a/components/spellcheck/common/spellcheck_messages.h
+++ b/components/spellcheck/common/spellcheck_messages.h
@@ -8,7 +8,6 @@
#include <stdint.h>
#include "components/spellcheck/common/spellcheck_bdict_language.h"
-#include "components/spellcheck/common/spellcheck_marker.h"
#include "components/spellcheck/common/spellcheck_result.h"
#include "ipc/ipc_message_macros.h"
#include "ipc/ipc_platform_file.h"
@@ -26,12 +25,6 @@ IPC_STRUCT_TRAITS_BEGIN(SpellCheckResult)
IPC_STRUCT_TRAITS_MEMBER(location)
IPC_STRUCT_TRAITS_MEMBER(length)
IPC_STRUCT_TRAITS_MEMBER(replacement)
- IPC_STRUCT_TRAITS_MEMBER(hash)
-IPC_STRUCT_TRAITS_END()
-
-IPC_STRUCT_TRAITS_BEGIN(SpellCheckMarker)
- IPC_STRUCT_TRAITS_MEMBER(hash)
- IPC_STRUCT_TRAITS_MEMBER(offset)
IPC_STRUCT_TRAITS_END()
IPC_STRUCT_TRAITS_BEGIN(SpellCheckBDictLanguage)
@@ -56,15 +49,6 @@ IPC_MESSAGE_CONTROL2(SpellCheckMsg_CustomDictionaryChanged,
std::set<std::string> /* words_added */,
std::set<std::string> /* words_removed */)
-// Request a list of all document markers in the renderer for spelling service
-// feedback.
-IPC_MESSAGE_CONTROL0(SpellCheckMsg_RequestDocumentMarkers)
-
-// Send a list of document markers in the renderer to the spelling service
-// feedback sender.
-IPC_MESSAGE_CONTROL1(SpellCheckHostMsg_RespondDocumentMarkers,
- std::vector<uint32_t> /* document marker identifiers */)
-
#if !defined(USE_BROWSER_SPELLCHECKER)
// Sends text-check results from the Spelling service when the service finishes
// checking text received by a SpellCheckHostMsg_CallSpellingService message.
@@ -108,11 +92,10 @@ IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_NotifyChecked,
// 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_CONTROL4(SpellCheckHostMsg_CallSpellingService,
+IPC_MESSAGE_CONTROL3(SpellCheckHostMsg_CallSpellingService,
int /* route_id for response */,
int /* request identifier given by WebKit */,
- base::string16 /* sentence */,
- std::vector<SpellCheckMarker> /* markers */)
+ base::string16 /* sentence */)
#endif
#if defined(USE_BROWSER_SPELLCHECKER)
@@ -134,11 +117,10 @@ IPC_SYNC_MESSAGE_CONTROL1_1(SpellCheckHostMsg_FillSuggestionList,
base::string16 /* word */,
std::vector<base::string16> /* suggestions */)
-IPC_MESSAGE_CONTROL4(SpellCheckHostMsg_RequestTextCheck,
+IPC_MESSAGE_CONTROL3(SpellCheckHostMsg_RequestTextCheck,
int /* route_id for response */,
int /* request identifier given by WebKit */,
- base::string16 /* sentence */,
- std::vector<SpellCheckMarker> /* markers */)
+ base::string16 /* sentence */)
IPC_MESSAGE_ROUTED2(SpellCheckHostMsg_ToggleSpellCheck,
bool /* enabled */,
« no previous file with comments | « components/spellcheck/common/spellcheck_marker.h ('k') | components/spellcheck/common/spellcheck_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698