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

Unified Diff: components/test_runner/web_test_proxy.h

Issue 1885993002: Use correct WebTestDelegate from WebViewTestClient and WebTestProxyBase. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Extracted focused view tracking to https://crrev.com/1886013002 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
« no previous file with comments | « components/test_runner/web_test_interfaces.cc ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/web_test_proxy.h
diff --git a/components/test_runner/web_test_proxy.h b/components/test_runner/web_test_proxy.h
index 14e4952556cd407ba0bd2561fcf49dda27e1bac2..408ac87b73e0abf11ca170fbe9e0664c46d4692d 100644
--- a/components/test_runner/web_test_proxy.h
+++ b/components/test_runner/web_test_proxy.h
@@ -72,8 +72,14 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
view_test_client_ = std::move(view_test_client);
}
+ WebTestDelegate* delegate() { return delegate_; }
+ void set_delegate(WebTestDelegate* delegate) {
+ DCHECK(delegate);
+ DCHECK(!delegate_);
+ delegate_ = delegate;
+ }
+
void SetInterfaces(WebTestInterfaces* interfaces);
- void SetDelegate(WebTestDelegate* delegate);
std::string DumpBackForwardLists();
« no previous file with comments | « components/test_runner/web_test_interfaces.cc ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698