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

Unified Diff: components/test_runner/web_test_runner.h

Issue 1839853002: Moving remaining mocks from WebTestProxyBase into TestRunner. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@splitting-web-view-test-client
Patch Set: Rebasing... Created 4 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: components/test_runner/web_test_runner.h
diff --git a/components/test_runner/web_test_runner.h b/components/test_runner/web_test_runner.h
index 93148a0f5d7feafb2ead9898ffe602f391421e14..28baf6280dfbeb85296450cb560e54336c39d2d2 100644
--- a/components/test_runner/web_test_runner.h
+++ b/components/test_runner/web_test_runner.h
@@ -72,6 +72,13 @@ class WebTestRunner {
// Returns true if WebTestProxy::capturePixels should be invoked after
// capturing text results.
virtual bool ShouldGeneratePixelResults() = 0;
+
+ // Sets various interfaces consumed by WebView to implementations providing
+ // test behavior. This method covers interfaces that are not exposed via
+ // WebViewClient (and are covered by WebViewTestClient) - for example this
+ // method covers blink::WebCredentialManagerClient and
+ // blink::WebSpellCheckClient.
+ virtual void InitializeWebViewWithMocks(blink::WebView* web_view) = 0;
};
} // namespace test_runner
« no previous file with comments | « components/test_runner/web_test_proxy.cc ('k') | content/shell/renderer/layout_test/layout_test_content_renderer_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698