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 COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ | 5 #ifndef COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ |
6 #define COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ | 6 #define COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ |
7 | 7 |
8 #include <stdint.h> | 8 #include <stdint.h> |
9 | 9 |
10 #include "base/macros.h" | 10 #include "base/macros.h" |
11 #include "base/memory/weak_ptr.h" | 11 #include "base/memory/weak_ptr.h" |
12 #include "components/test_runner/mock_spell_check.h" | 12 #include "components/test_runner/mock_spell_check.h" |
13 #include "third_party/WebKit/public/platform/WebString.h" | 13 #include "third_party/WebKit/public/platform/WebString.h" |
14 #include "third_party/WebKit/public/platform/WebVector.h" | 14 #include "third_party/WebKit/public/platform/WebVector.h" |
15 #include "third_party/WebKit/public/web/WebSpellCheckClient.h" | 15 #include "third_party/WebKit/public/web/WebSpellCheckClient.h" |
16 | 16 |
17 namespace blink { | 17 namespace blink { |
18 class WebTextCheckingCompletion; | 18 class WebTextCheckingCompletion; |
19 struct WebTextCheckingResult; | |
20 } // namespace blink | 19 } // namespace blink |
21 | 20 |
22 namespace test_runner { | 21 namespace test_runner { |
23 | 22 |
24 class TestRunner; | 23 class TestRunner; |
25 class WebTestDelegate; | 24 class WebTestDelegate; |
26 | 25 |
27 class SpellCheckClient : public blink::WebSpellCheckClient { | 26 class SpellCheckClient : public blink::WebSpellCheckClient { |
28 public: | 27 public: |
29 explicit SpellCheckClient(TestRunner* test_runner); | 28 explicit SpellCheckClient(TestRunner* test_runner); |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
62 WebTestDelegate* delegate_; | 61 WebTestDelegate* delegate_; |
63 | 62 |
64 base::WeakPtrFactory<SpellCheckClient> weak_factory_; | 63 base::WeakPtrFactory<SpellCheckClient> weak_factory_; |
65 | 64 |
66 DISALLOW_COPY_AND_ASSIGN(SpellCheckClient); | 65 DISALLOW_COPY_AND_ASSIGN(SpellCheckClient); |
67 }; | 66 }; |
68 | 67 |
69 } // namespace test_runner | 68 } // namespace test_runner |
70 | 69 |
71 #endif // COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ | 70 #endif // COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ |
OLD | NEW |