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

Unified Diff: webkit/tools/test_shell/test_webview_delegate.cc

Issue 5333001: TestShell changes to support multiple speech input results. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/layout_test_controller.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_webview_delegate.cc
diff --git a/webkit/tools/test_shell/test_webview_delegate.cc b/webkit/tools/test_shell/test_webview_delegate.cc
index f22b6b81787728b9b41320f6b94ec4ce0299bab4..1973acb79ccab4f883ce85d0d5d322729c739da8 100644
--- a/webkit/tools/test_shell/test_webview_delegate.cc
+++ b/webkit/tools/test_shell/test_webview_delegate.cc
@@ -1175,6 +1175,8 @@ void TestWebViewDelegate::Reset() {
TestShell* shell = shell_;
this->~TestWebViewDelegate();
new (this) TestWebViewDelegate(shell);
+ if (shell->speech_input_controller_mock())
+ shell->speech_input_controller_mock()->clearResults();
}
void TestWebViewDelegate::SetSmartInsertDeleteEnabled(bool enabled) {
« no previous file with comments | « webkit/tools/test_shell/layout_test_controller.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698