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

Unified Diff: components/test_runner/web_test_interfaces.h

Issue 1897363003: Use correct WebView from EventSender. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed initial state of EventSender. 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_interfaces.h
diff --git a/components/test_runner/web_test_interfaces.h b/components/test_runner/web_test_interfaces.h
index 29942c1879c80d9d3a0bfbe49414daf34aa483f4..a1a6c0af21a5596763cf26a412caaa87b3d8c954 100644
--- a/components/test_runner/web_test_interfaces.h
+++ b/components/test_runner/web_test_interfaces.h
@@ -44,12 +44,10 @@ class TEST_RUNNER_EXPORT WebTestInterfaces {
void SetWebView(blink::WebView* web_view, WebTestProxyBase* proxy);
void SetDelegate(WebTestDelegate* delegate);
- void BindTo(blink::WebFrame* frame);
void ResetAll();
void SetTestIsRunning(bool running);
void ConfigureForTestWithURL(const blink::WebURL& test_url,
bool generate_pixels);
- void SetSendWheelGestures(bool send_gestures);
WebTestRunner* TestRunner();
blink::WebThemeEngine* ThemeEngine();
@@ -71,8 +69,9 @@ class TEST_RUNNER_EXPORT WebTestInterfaces {
// Creates a WebFrameClient implementation providing test behavior (i.e.
// forwarding javascript console output to the test harness). The caller
// should guarantee that the returned object won't be used beyond the lifetime
- // of WebTestInterfaces.
- scoped_ptr<WebFrameTestClient> CreateWebFrameTestClient();
+ // of WebTestInterfaces and/or the lifetime of |web_test_proxy_base|.
+ scoped_ptr<WebFrameTestClient> CreateWebFrameTestClient(
+ WebTestProxyBase* web_test_proxy_base);
// Creates a WebViewClient implementation providing test behavior (i.e.
// providing a mocked speech recognizer). The caller should guarantee that

Powered by Google App Engine
This is Rietveld 408576698