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

Unified Diff: content/public/test/layouttest_support.h

Issue 1840823002: Extract WebViewClient implementation out of WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@separate-pixel-dump-code
Patch Set: Expanding a comment + an IWYU fix. 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: content/public/test/layouttest_support.h
diff --git a/content/public/test/layouttest_support.h b/content/public/test/layouttest_support.h
index 575177314c78400fc3523c8fa7de1d1aec8e99ad..762ab122d659a26641517876fa878e4df775e33e 100644
--- a/content/public/test/layouttest_support.h
+++ b/content/public/test/layouttest_support.h
@@ -52,6 +52,10 @@ void EnableBrowserLayoutTestMode();
// Turn a renderer into layout test mode.
void EnableRendererLayoutTestMode();
+// "Casts" |render_view| to |WebTestProxyBase|. Caller has to ensure that prior
+// to construciton of |render_view|, EnableWebTestProxyCreation was called.
+test_runner::WebTestProxyBase* GetWebTestProxyBase(RenderView* render_view);
+
// Enable injecting of a WebTestProxy between WebViews and RenderViews
// and WebFrameTestProxy between WebFrames and RenderFrames.
// |view_proxy_creation_callback| is invoked after creating WebTestProxy.
« no previous file with comments | « components/test_runner/web_view_test_client.cc ('k') | content/shell/renderer/layout_test/blink_test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698