| Index: third_party/WebKit/Source/web/TextCheckerClientImpl.h
|
| diff --git a/third_party/WebKit/Source/web/TextCheckerClientImpl.h b/third_party/WebKit/Source/web/TextCheckerClientImpl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e694a92eaa8214d17b90f90a43ed0cea5c6e7e1c
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/web/TextCheckerClientImpl.h
|
| @@ -0,0 +1,32 @@
|
| +// Copyright 2017 The Chromium Authors. All rights reserved.
|
| +// Use of this source code is governed by a BSD-style license that can be
|
| +// found in the LICENSE file.
|
| +
|
| +#ifndef TextCheckerClientImpl_h
|
| +#define TextCheckerClientImpl_h
|
| +
|
| +#include "platform/text/TextCheckerClient.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class WebViewImpl;
|
| +
|
| +// TODO(xiaochengh): Move ownership of this class to WebLocalFrameImpl.
|
| +class TextCheckerClientImpl final : public TextCheckerClient {
|
| + public:
|
| + TextCheckerClientImpl(WebViewImpl*);
|
| + ~TextCheckerClientImpl() final;
|
| +
|
| + void checkSpellingOfString(const String&,
|
| + int* misspellingLocation,
|
| + int* misspellingLength) final;
|
| + void requestCheckingOfString(TextCheckingRequest*) final;
|
| + void cancelAllPendingRequests() final;
|
| +
|
| + private:
|
| + WebViewImpl* m_webView;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif
|
|
|