Index: third_party/WebKit/Source/web/WebViewImpl.h |
diff --git a/third_party/WebKit/Source/web/WebViewImpl.h b/third_party/WebKit/Source/web/WebViewImpl.h |
index dddbf860eedc25b328fdde5aa927bb1f9d6b6c76..14f12bda6c3c0dc5a15e1086d828585b9855c5f5 100644 |
--- a/third_party/WebKit/Source/web/WebViewImpl.h |
+++ b/third_party/WebKit/Source/web/WebViewImpl.h |
@@ -175,6 +175,7 @@ class WEB_EXPORT WebViewImpl final |
void setCredentialManagerClient(WebCredentialManagerClient*) override; |
void setPrerendererClient(WebPrerendererClient*) override; |
void setSpellCheckClient(WebSpellCheckClient*) override; |
+ void setTextCheckClient(WebTextCheckClient*) override; |
WebSettings* settings() override; |
WebString pageEncoding() const override; |
bool tabsToLinks() const override; |
@@ -314,6 +315,8 @@ class WEB_EXPORT WebViewImpl final |
WebSpellCheckClient* spellCheckClient() { return m_spellCheckClient; } |
+ WebTextCheckClient* textCheckClient() { return m_textCheckClient; } |
+ |
// Returns the page object associated with this view. This may be null when |
// the page is shutting down, but will be valid at all other times. |
Page* page() const { return m_page.get(); } |
@@ -613,6 +616,9 @@ class WEB_EXPORT WebViewImpl final |
WebViewClient* m_client; // Can be 0 (e.g. unittests, shared workers, etc.) |
WebSpellCheckClient* m_spellCheckClient; |
+ // TODO(xiaochengh): Move this pointer to WebLocalFrameImpl. |
+ WebTextCheckClient* m_textCheckClient; |
+ |
Persistent<ChromeClientImpl> m_chromeClientImpl; |
ContextMenuClientImpl m_contextMenuClientImpl; |
EditorClientImpl m_editorClientImpl; |