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

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

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
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index 6921fb01f9e7f196dbfc6c3b03646d2d3247fa0c..dd1498133ea2376db7e178e347b5668ae1933ae2 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -329,6 +329,10 @@ void WebViewImpl::setSpellCheckClient(WebSpellCheckClient* spellCheckClient) {
m_spellCheckClient = spellCheckClient;
}
+void WebViewImpl::setTextCheckClient(WebTextCheckClient* textCheckClient) {
+ m_textCheckClient = textCheckClient;
+}
+
// static
HashSet<WebViewImpl*>& WebViewImpl::allInstances() {
DEFINE_STATIC_LOCAL(HashSet<WebViewImpl*>, allInstances, ());
@@ -339,6 +343,7 @@ WebViewImpl::WebViewImpl(WebViewClient* client,
WebPageVisibilityState visibilityState)
: m_client(client),
m_spellCheckClient(nullptr),
+ m_textCheckClient(nullptr),
m_chromeClientImpl(ChromeClientImpl::create(this)),
m_contextMenuClientImpl(this),
m_editorClientImpl(this),
« no previous file with comments | « third_party/WebKit/Source/web/WebViewImpl.h ('k') | third_party/WebKit/Source/web/tests/WebFrameTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698