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

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

Issue 251263002: test_runner: Move three Mock* files 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_MOCKGRAMMARCHECK_H_ 5 #ifndef CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKGRAMMARCHECK_H_
6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKGRAMMARCHECK_H_ 6 #define CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKGRAMMARCHECK_H_
7 7
8 #include <vector> 8 #include <vector>
9 9
10 namespace blink { 10 namespace blink {
11
12 class WebString; 11 class WebString;
13 struct WebTextCheckingResult; 12 struct WebTextCheckingResult;
14
15 } 13 }
16 14
17 namespace WebTestRunner { 15 namespace content {
18 16
19 // A mock implementation of a grammar-checker used for WebKit tests. This class 17 // A mock implementation of a grammar-checker used for WebKit tests. This class
20 // only implements the minimal functionarities required by WebKit tests, i.e. 18 // only implements the minimal functionarities required by WebKit tests, i.e.
21 // this class just compares the given string with known grammar mistakes in 19 // this class just compares the given string with known grammar mistakes in
22 // webkit tests and adds grammar markers on them. Even though this is sufficent 20 // webkit tests and adds grammar markers on them. Even though this is sufficent
23 // for webkit tests, this class is not suitable for any other usages. 21 // for webkit tests, this class is not suitable for any other usages.
24 class MockGrammarCheck { 22 class MockGrammarCheck {
25 public: 23 public:
26 static bool checkGrammarOfString(const blink::WebString&, std::vector<blink: :WebTextCheckingResult>*); 24 static bool checkGrammarOfString(const blink::WebString&, std::vector<blink: :WebTextCheckingResult>*);
27 }; 25 };
28 26
29 } 27 } // namespace content
30 28
31 #endif // MockSpellCheck_h 29 #endif // CONTENT_SHELL_RENDERER_TEST_RUNNER_MOCKGRAMMARCHECK_H_
OLDNEW
« no previous file with comments | « content/shell/renderer/test_runner/MockConstraints.cpp ('k') | content/shell/renderer/test_runner/MockGrammarCheck.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698