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

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

Issue 3466019: Adds speech input mock methods to TestShell. (Closed)
Patch Set: Created 10 years, 3 months 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') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/test_shell.h
diff --git a/webkit/tools/test_shell/test_shell.h b/webkit/tools/test_shell/test_shell.h
index d40167ef5d9a2ebc9997f546d9fda21d29054f5c..3e0c0afa2fcab27e9fd533d5a4a17cccf142ce96 100644
--- a/webkit/tools/test_shell/test_shell.h
+++ b/webkit/tools/test_shell/test_shell.h
@@ -66,6 +66,8 @@ class StringPiece;
namespace WebKit {
class WebDeviceOrientationClientMock;
+class WebSpeechInputControllerMock;
+class WebSpeechInputListener;
}
class TestShell : public base::SupportsWeakPtr<TestShell> {
@@ -341,6 +343,10 @@ public:
WebKit::WebDeviceOrientationClientMock* device_orientation_client_mock();
+ WebKit::WebSpeechInputControllerMock* CreateSpeechInputControllerMock(
+ WebKit::WebSpeechInputListener* listener);
+ WebKit::WebSpeechInputControllerMock* speech_input_controller_mock();
+
protected:
void CreateDevToolsClient(TestShellDevToolsAgent* agent);
bool Initialize(const GURL& starting_url);
@@ -422,6 +428,8 @@ private:
scoped_ptr<TestShellDevToolsClient> dev_tools_client_;
scoped_ptr<WebKit::WebDeviceOrientationClientMock>
device_orientation_client_mock_;
+ scoped_ptr<WebKit::WebSpeechInputControllerMock>
+ speech_input_controller_mock_;
// A temporary directory for FileSystem API.
ScopedTempDir file_system_root_;
« no previous file with comments | « webkit/tools/test_shell/layout_test_controller.cc ('k') | webkit/tools/test_shell/test_shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698