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

Side by Side Diff: components/test_runner/spell_check_client.h

Issue 1857043002: Remove unused functions under components/test_runner (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 8 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
OLDNEW
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"
(...skipping 14 matching lines...) Expand all
25 class WebTestDelegate; 25 class WebTestDelegate;
26 26
27 class SpellCheckClient : public blink::WebSpellCheckClient { 27 class SpellCheckClient : public blink::WebSpellCheckClient {
28 public: 28 public:
29 explicit SpellCheckClient(TestRunner* test_runner); 29 explicit SpellCheckClient(TestRunner* test_runner);
30 virtual ~SpellCheckClient(); 30 virtual ~SpellCheckClient();
31 31
32 void SetDelegate(WebTestDelegate* delegate); 32 void SetDelegate(WebTestDelegate* delegate);
33 33
34 WebTaskList* mutable_task_list() { return &task_list_; } 34 WebTaskList* mutable_task_list() { return &task_list_; }
35 MockSpellCheck* MockSpellCheckWord() { return &spell_check_; }
36 35
37 // blink::WebSpellCheckClient implementation. 36 // blink::WebSpellCheckClient implementation.
38 void spellCheck( 37 void spellCheck(
39 const blink::WebString& text, 38 const blink::WebString& text,
40 int& offset, 39 int& offset,
41 int& length, 40 int& length,
42 blink::WebVector<blink::WebString>* optional_suggestions) override; 41 blink::WebVector<blink::WebString>* optional_suggestions) override;
43 void checkTextOfParagraph( 42 void checkTextOfParagraph(
44 const blink::WebString& text, 43 const blink::WebString& text,
45 blink::WebTextCheckingTypeMask mask, 44 blink::WebTextCheckingTypeMask mask,
(...skipping 17 matching lines...) Expand all
63 62
64 TestRunner* test_runner_; 63 TestRunner* test_runner_;
65 WebTestDelegate* delegate_; 64 WebTestDelegate* delegate_;
66 65
67 DISALLOW_COPY_AND_ASSIGN(SpellCheckClient); 66 DISALLOW_COPY_AND_ASSIGN(SpellCheckClient);
68 }; 67 };
69 68
70 } // namespace test_runner 69 } // namespace test_runner
71 70
72 #endif // COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ 71 #endif // COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_
OLDNEW
« no previous file with comments | « components/test_runner/mock_web_media_stream_center.h ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698