Index: webkit/tools/test_shell/mock_spellcheck.h |
diff --git a/webkit/tools/test_shell/mock_spellcheck.h b/webkit/tools/test_shell/mock_spellcheck.h |
index 0f40675baefbf5e4fa228563e81d9057a3c3ffe4..41b180d6d1bdf5ea1c5e74d8055f660521a3ae03 100644 |
--- a/webkit/tools/test_shell/mock_spellcheck.h |
+++ b/webkit/tools/test_shell/mock_spellcheck.h |
@@ -6,6 +6,7 @@ |
#define WEBKIT_TOOLS_TEST_SHELL_MOCK_SPELLCHECK_H_ |
#include <map> |
+#include <vector> |
#include "base/string16.h" |
@@ -32,6 +33,10 @@ class MockSpellCheck { |
int* misspelledOffset, |
int* misspelledLength); |
+ // Emulates suggestions for misspelled words. |
+ // The suggestions are pushed to |suggestions| parameters. |
+ void FillSuggestions(const string16& word, |
+ std::vector<string16>* suggestions); |
private: |
// Initialize the internal resources if we need to initialize it. |
// Initializing this object may take long time. To prevent from hurting |