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

Unified Diff: content/shell/test_runner/test_runner.cc

Issue 2797073002: Move WebTextCheckClient reference from WebViewImpl to WebLocalFrameImpl (Closed)
Patch Set: Spell my name correctly 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 | « content/shell/test_runner/test_runner.h ('k') | content/shell/test_runner/web_test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/test_runner/test_runner.cc
diff --git a/content/shell/test_runner/test_runner.cc b/content/shell/test_runner/test_runner.cc
index 5ae3f3c5d1a4ed22c94df76e39d4089c104342cd..23b19b3ecec718046f500833757d80824cf1accf 100644
--- a/content/shell/test_runner/test_runner.cc
+++ b/content/shell/test_runner/test_runner.cc
@@ -1893,8 +1893,11 @@ WebContentSettingsClient* TestRunner::GetWebContentSettings() const {
return mock_content_settings_client_.get();
}
+WebTextCheckClient* TestRunner::GetWebTextCheckClient() const {
+ return spellcheck_.get();
+}
+
void TestRunner::InitializeWebViewWithMocks(blink::WebView* web_view) {
- web_view->setTextCheckClient(spellcheck_.get());
web_view->setCredentialManagerClient(credential_manager_client_.get());
}
« no previous file with comments | « content/shell/test_runner/test_runner.h ('k') | content/shell/test_runner/web_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698