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

Unified Diff: webkit/tools/test_shell/mock_spellcheck.h

Issue 5120002: TestShell: Backported EventSender.contextClick() improvement (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed feedback Created 10 years, 1 month 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 | « webkit/tools/test_shell/event_sending_controller.cc ('k') | webkit/tools/test_shell/mock_spellcheck.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « webkit/tools/test_shell/event_sending_controller.cc ('k') | webkit/tools/test_shell/mock_spellcheck.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698