OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ | 5 #ifndef CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ |
6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ | 6 #define CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ |
7 | 7 |
8 #include <vector> | 8 #include <vector> |
9 | 9 |
10 #include "base/string16.h" | 10 #include "base/string16.h" |
11 #include "chrome/renderer/spellchecker/spellcheck_provider.h" | 11 #include "chrome/renderer/spellchecker/spellcheck_provider.h" |
12 #include "testing/gtest/include/gtest/gtest.h" | 12 #include "testing/gtest/include/gtest/gtest.h" |
| 13 #include "third_party/WebKit/Source/Platform/chromium/public/WebVector.h" |
13 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingComple
tion.h" | 14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingComple
tion.h" |
14 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult
.h" | 15 #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextCheckingResult
.h" |
15 #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebVector.h" | |
16 | 16 |
17 namespace IPC { | 17 namespace IPC { |
18 class Message; | 18 class Message; |
19 } | 19 } |
20 | 20 |
21 // A fake completion object for verification. | 21 // A fake completion object for verification. |
22 class FakeTextCheckingCompletion : public WebKit::WebTextCheckingCompletion { | 22 class FakeTextCheckingCompletion : public WebKit::WebTextCheckingCompletion { |
23 public: | 23 public: |
24 FakeTextCheckingCompletion(); | 24 FakeTextCheckingCompletion(); |
25 ~FakeTextCheckingCompletion(); | 25 ~FakeTextCheckingCompletion(); |
(...skipping 30 matching lines...) Expand all Loading... |
56 class SpellCheckProviderTest : public testing::Test { | 56 class SpellCheckProviderTest : public testing::Test { |
57 public: | 57 public: |
58 SpellCheckProviderTest(); | 58 SpellCheckProviderTest(); |
59 virtual ~SpellCheckProviderTest(); | 59 virtual ~SpellCheckProviderTest(); |
60 | 60 |
61 protected: | 61 protected: |
62 TestingSpellCheckProvider provider_; | 62 TestingSpellCheckProvider provider_; |
63 }; | 63 }; |
64 | 64 |
65 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ | 65 #endif // CHROME_RENDERER_SPELLCHECKER_SPELLCHECK_PROVIDER_TEST_H_ |
OLD | NEW |