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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.h

Issue 2791753003: Split WebTextCheckClient off WebSpellCheckClient (Closed)
Patch Set: Add TODOs for class renaming 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 side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/web/TextCheckerClientImpl.cpp ('k') | third_party/WebKit/Source/web/WebViewImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698