OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ | 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ |
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ | 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ |
7 | 7 |
8 #include <deque> | 8 #include <deque> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "content/shell/renderer/test_runner/web_task.h" | 12 #include "content/shell/renderer/test_runner/web_task.h" |
13 #include "third_party/WebKit/public/web/WebSpeechRecognizer.h" | 13 #include "third_party/WebKit/public/web/WebSpeechRecognizer.h" |
14 | 14 |
15 namespace blink { | 15 namespace blink { |
16 class WebSpeechRecognitionHandle; | 16 class WebSpeechRecognitionHandle; |
17 class WebSpeechRecognitionParams; | 17 class WebSpeechRecognitionParams; |
18 class WebSpeechRecognizerClient; | 18 class WebSpeechRecognizerClient; |
| 19 class WebString; |
19 } | 20 } |
20 | 21 |
21 namespace content { | 22 namespace content { |
22 | 23 |
23 class WebTestDelegate; | 24 class WebTestDelegate; |
24 | 25 |
25 class MockWebSpeechRecognizer : public blink::WebSpeechRecognizer { | 26 class MockWebSpeechRecognizer : public blink::WebSpeechRecognizer { |
26 public: | 27 public: |
27 MockWebSpeechRecognizer(); | 28 MockWebSpeechRecognizer(); |
28 virtual ~MockWebSpeechRecognizer(); | 29 virtual ~MockWebSpeechRecognizer(); |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 private: | 89 private: |
89 DISALLOW_COPY_AND_ASSIGN(StepTask); | 90 DISALLOW_COPY_AND_ASSIGN(StepTask); |
90 }; | 91 }; |
91 | 92 |
92 DISALLOW_COPY_AND_ASSIGN(MockWebSpeechRecognizer); | 93 DISALLOW_COPY_AND_ASSIGN(MockWebSpeechRecognizer); |
93 }; | 94 }; |
94 | 95 |
95 } // namespace content | 96 } // namespace content |
96 | 97 |
97 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ | 98 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCK_WEB_SPEECH_RECOGNIZER_H_ |
OLD | NEW |