| OLD | NEW |
| (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 |
| OLD | NEW |