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

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

Issue 2177023002: Remove spellchecker feedback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix compile Created 4 years, 4 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 25 matching lines...) Expand all
36 const blink::WebString& text, 36 const blink::WebString& text,
37 int& offset, 37 int& offset,
38 int& length, 38 int& length,
39 blink::WebVector<blink::WebString>* optional_suggestions) override; 39 blink::WebVector<blink::WebString>* optional_suggestions) override;
40 void checkTextOfParagraph( 40 void checkTextOfParagraph(
41 const blink::WebString& text, 41 const blink::WebString& text,
42 blink::WebTextCheckingTypeMask mask, 42 blink::WebTextCheckingTypeMask mask,
43 blink::WebVector<blink::WebTextCheckingResult>* web_results) override; 43 blink::WebVector<blink::WebTextCheckingResult>* web_results) override;
44 void requestCheckingOfText( 44 void requestCheckingOfText(
45 const blink::WebString& text, 45 const blink::WebString& text,
46 const blink::WebVector<uint32_t>& markers,
47 const blink::WebVector<unsigned>& marker_offsets,
48 blink::WebTextCheckingCompletion* completion) override; 46 blink::WebTextCheckingCompletion* completion) override;
49 47
50 private: 48 private:
51 void FinishLastTextCheck(); 49 void FinishLastTextCheck();
52 50
53 // The mock spellchecker used in spellCheck(). 51 // The mock spellchecker used in spellCheck().
54 MockSpellCheck spell_check_; 52 MockSpellCheck spell_check_;
55 53
56 blink::WebString last_requested_text_check_string_; 54 blink::WebString last_requested_text_check_string_;
57 blink::WebTextCheckingCompletion* last_requested_text_checking_completion_; 55 blink::WebTextCheckingCompletion* last_requested_text_checking_completion_;
58 56
59 TestRunner* test_runner_; 57 TestRunner* test_runner_;
60 WebTestDelegate* delegate_; 58 WebTestDelegate* delegate_;
61 59
62 base::WeakPtrFactory<SpellCheckClient> weak_factory_; 60 base::WeakPtrFactory<SpellCheckClient> weak_factory_;
63 61
64 DISALLOW_COPY_AND_ASSIGN(SpellCheckClient); 62 DISALLOW_COPY_AND_ASSIGN(SpellCheckClient);
65 }; 63 };
66 64
67 } // namespace test_runner 65 } // namespace test_runner
68 66
69 #endif // COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_ 67 #endif // COMPONENTS_TEST_RUNNER_SPELL_CHECK_CLIENT_H_
OLDNEW
« no previous file with comments | « components/spellcheck/common/spellcheck_switches.cc ('k') | components/test_runner/spell_check_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698