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

Side by Side Diff: content/shell/renderer/test_runner/MockWebSpeechRecognizer.h

Issue 264003003: test_runner: Move everything else into content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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_MOCKWEBSPEECHRECOGNIZER_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBSPEECHRECOGNIZER_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBSPEECHRECOGNIZER_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBSPEECHRECOGNIZER_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/TestCommon.h" 12 #include "content/shell/renderer/test_runner/TestCommon.h"
13 #include "content/shell/renderer/test_runner/WebTask.h" 13 #include "content/shell/renderer/test_runner/WebTask.h"
14 #include "third_party/WebKit/public/web/WebSpeechRecognizer.h" 14 #include "third_party/WebKit/public/web/WebSpeechRecognizer.h"
15 15
16 namespace blink { 16 namespace blink {
17 class WebSpeechRecognitionHandle; 17 class WebSpeechRecognitionHandle;
18 class WebSpeechRecognitionParams; 18 class WebSpeechRecognitionParams;
19 class WebSpeechRecognizerClient; 19 class WebSpeechRecognizerClient;
20 } 20 }
21 21
22 namespace WebTestRunner { 22 namespace content {
23 23
24 class WebTestDelegate; 24 class WebTestDelegate;
25 25
26 class MockWebSpeechRecognizer : public blink::WebSpeechRecognizer { 26 class MockWebSpeechRecognizer : public blink::WebSpeechRecognizer {
27 public: 27 public:
28 MockWebSpeechRecognizer(); 28 MockWebSpeechRecognizer();
29 virtual ~MockWebSpeechRecognizer(); 29 virtual ~MockWebSpeechRecognizer();
30 30
31 void setDelegate(WebTestDelegate*); 31 void setDelegate(WebTestDelegate*);
32 32
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 // Task for stepping the queue. 74 // Task for stepping the queue.
75 class StepTask : public WebMethodTask<MockWebSpeechRecognizer> { 75 class StepTask : public WebMethodTask<MockWebSpeechRecognizer> {
76 public: 76 public:
77 StepTask(MockWebSpeechRecognizer* object) : WebMethodTask<MockWebSpeechR ecognizer>(object) { } 77 StepTask(MockWebSpeechRecognizer* object) : WebMethodTask<MockWebSpeechR ecognizer>(object) { }
78 virtual void runIfValid() OVERRIDE; 78 virtual void runIfValid() OVERRIDE;
79 }; 79 };
80 80
81 DISALLOW_COPY_AND_ASSIGN(MockWebSpeechRecognizer); 81 DISALLOW_COPY_AND_ASSIGN(MockWebSpeechRecognizer);
82 }; 82 };
83 83
84 } 84 } // namespace content
85 85
86 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBSPEECHRECOGNIZER_H_ 86 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKWEBSPEECHRECOGNIZER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698