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

Unified Diff: content/shell/test_runner/web_test_runner.h

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.cc ('k') | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/test_runner/web_test_runner.h
diff --git a/content/shell/test_runner/web_test_runner.h b/content/shell/test_runner/web_test_runner.h
index 3deb8908356a8d7baae5e39b51c9f9b15bb2b880..5dd449c43aabd740ac72b77de7bd7e5ce90096b7 100644
--- a/content/shell/test_runner/web_test_runner.h
+++ b/content/shell/test_runner/web_test_runner.h
@@ -19,6 +19,7 @@ class DictionaryValue;
namespace blink {
class WebContentSettingsClient;
class WebLocalFrame;
+class WebTextCheckClient;
class WebView;
}
@@ -30,6 +31,10 @@ class WebTestRunner {
// embedder should use this for all WebViews it creates.
virtual blink::WebContentSettingsClient* GetWebContentSettings() const = 0;
+ // Returns a mock WebTextCheckClient that is used for layout tests. An
+ // embedder should use this for all WebLocalFrames it creates.
+ virtual blink::WebTextCheckClient* GetWebTextCheckClient() const = 0;
+
// After WebTestDelegate::TestFinished was invoked, the following methods
// can be used to determine what kind of dump the main WebViewTestProxy can
// provide.
« no previous file with comments | « content/shell/test_runner/test_runner.cc ('k') | third_party/WebKit/Source/web/ContextMenuClientImpl.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698