Adds a mock spellchecker to test_shell.
This change adds a MockSpellCheck class, a mock implementation of our SpellCheck class, to test_shell so we can render dotted-underlines to misspelled words.
Unfortunately, this class is currently enabled only on Mac since it needs rebaselines on Windows and Linux.
BUG=11577,23497
TEST=run run_webkit_tests.sh on Mac
Review URL: http://codereview.chromium.org/493003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@37241 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/webkit/tools/test_shell/test_shell.gyp b/webkit/tools/test_shell/test_shell.gyp
index 9a07898..d837d1f 100644
--- a/webkit/tools/test_shell/test_shell.gyp
+++ b/webkit/tools/test_shell/test_shell.gyp
@@ -65,6 +65,8 @@
'foreground_helper.h',
'layout_test_controller.cc',
'layout_test_controller.h',
+ 'mock_spellcheck.cc',
+ 'mock_spellcheck.h',
'mock_webclipboard_impl.cc',
'mock_webclipboard_impl.h',
'plain_text_controller.cc',
@@ -431,6 +433,7 @@
'layout_test_controller_unittest.cc',
'listener_leak_test.cc',
'media_leak_test.cc',
+ 'mock_spellcheck_unittest.cc',
'node_leak_test.cc',
'plugin_tests.cc',
'run_all_tests.cc',