Index: chrome/renderer/spellchecker/spellcheck.h |
diff --git a/chrome/renderer/spellchecker/spellcheck.h b/chrome/renderer/spellchecker/spellcheck.h |
index 078e202c68df39bcfd4e61a32611ab556e814f6e..5a5bbc6b5183581545b801e7bb688b576ec33994 100644 |
--- a/chrome/renderer/spellchecker/spellcheck.h |
+++ b/chrome/renderer/spellchecker/spellcheck.h |
@@ -121,6 +121,13 @@ class SpellCheck : public content::RenderProcessObserver, |
FRIEND_TEST_ALL_PREFIXES(SpellCheckTest, |
RequestSpellCheckMultipleTimesWithoutInitialization); |
+ // Evenly fill |optional_suggestions| with a maximum of 5 suggestions from |
please use gerrit instead
2015/08/20 22:14:27
Specify the constant name instead of 5. If we upda
Julius
2015/08/21 00:39:19
Done.
|
+ // |suggestions_list|. suggestions_list[i][j] is the j-th suggestion from |
+ // the i-th language's suggestions. |optional_suggestions| cannot be null. |
+ static void FillSuggestions( |
+ const std::vector<std::vector<base::string16>>& suggestions_list, |
+ std::vector<base::string16>* optional_suggestions); |
+ |
// RenderProcessObserver implementation: |
bool OnControlMessageReceived(const IPC::Message& message) override; |