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

Side by Side Diff: third_party/WebKit/Source/web/TextCheckerClientImpl.h

Issue 2796473002: Split TextCheckerClientImpl off SpellCheckerClientImpl (Closed)
Patch Set: Remove explicit Created 3 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef TextCheckerClientImpl_h
6 #define TextCheckerClientImpl_h
7
8 #include "platform/text/TextCheckerClient.h"
9
10 namespace blink {
11
12 class WebViewImpl;
13
14 // TODO(xiaochengh): Move ownership of this class to WebLocalFrameImpl.
15 class TextCheckerClientImpl final : public TextCheckerClient {
16 public:
17 TextCheckerClientImpl(WebViewImpl*);
18 ~TextCheckerClientImpl() final;
19
20 void checkSpellingOfString(const String&,
21 int* misspellingLocation,
22 int* misspellingLength) final;
23 void requestCheckingOfString(TextCheckingRequest*) final;
24 void cancelAllPendingRequests() final;
25
26 private:
27 WebViewImpl* m_webView;
28 };
29
30 } // namespace blink
31
32 #endif
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/SpellCheckerClientImpl.cpp ('k') | third_party/WebKit/Source/web/TextCheckerClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698