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

Unified Diff: chrome/common/spellcheck_messages.h

Issue 15940004: Add HasWord(string) method to SpellcheckCustomDictionary (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Clarified message direction (browser-to-renderer) in spellcheck_messages.h Created 7 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 | « chrome/common/spellcheck_common.h ('k') | chrome/renderer/spellchecker/custom_dictionary_engine.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 d808b802dfabf02d609762f208e60659f740fdbf..e1f1639f28131dfd51639998a079318014c43b92 100644
--- a/chrome/common/spellcheck_messages.h
+++ b/chrome/common/spellcheck_messages.h
@@ -33,12 +33,12 @@ IPC_STRUCT_TRAITS_END()
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
-// RequestDictionary ViewHost message.
+// Passes some initialization params from the browser to the renderer's
+// spellchecker. This can be called directly after startup or in (async)
+// response to a RequestDictionary ViewHost message.
IPC_MESSAGE_CONTROL4(SpellCheckMsg_Init,
IPC::PlatformFileForTransit /* bdict_file */,
- std::vector<std::string> /* custom_dict_words */,
+ std::set<std::string> /* custom_dict_words */,
std::string /* language */,
bool /* auto spell correct */)
« no previous file with comments | « chrome/common/spellcheck_common.h ('k') | chrome/renderer/spellchecker/custom_dictionary_engine.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698