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

Unified Diff: components/test_runner/web_test_proxy.h

Issue 1908183002: Use correct WebView from TestRunner methods called via testRunner bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@accessibility-controller-per-view
Patch Set: Explicit constructor for TestRunnerForSpecificView. 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/test_runner.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 c8d5c64b92bd545fe4c71a829c2fde95100dad91..7f34ba4854382b8ecbc9be484fbec4949be4da73 100644
--- a/components/test_runner/web_test_proxy.h
+++ b/components/test_runner/web_test_proxy.h
@@ -44,6 +44,7 @@ namespace test_runner {
class AccessibilityController;
class EventSender;
class TestInterfaces;
+class TestRunnerForSpecificView;
class TextInputController;
class WebTestDelegate;
class WebTestInterfaces;
@@ -93,6 +94,10 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
return accessibility_controller_.get();
}
+ TestRunnerForSpecificView* view_test_runner() {
+ return view_test_runner_.get();
+ }
+
void Reset();
void BindTo(blink::WebLocalFrame* frame);
@@ -113,6 +118,7 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
std::unique_ptr<AccessibilityController> accessibility_controller_;
std::unique_ptr<EventSender> event_sender_;
std::unique_ptr<TextInputController> text_input_controller_;
+ std::unique_ptr<TestRunnerForSpecificView> view_test_runner_;
DISALLOW_COPY_AND_ASSIGN(WebTestProxyBase);
};
« no previous file with comments | « components/test_runner/test_runner.cc ('k') | components/test_runner/web_test_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698