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

Unified Diff: components/test_runner/web_test_proxy.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_proxy.h
diff --git a/components/test_runner/web_test_proxy.h b/components/test_runner/web_test_proxy.h
index 140c027537d9a06ea7b14dead71cdfa3a9b17992..e89ff04e816ed97b2dfa908a9c33001cf10e32a7 100644
--- a/components/test_runner/web_test_proxy.h
+++ b/components/test_runner/web_test_proxy.h
@@ -41,6 +41,7 @@ struct WebWindowFeatures;
namespace test_runner {
+class EventSender;
class TestInterfaces;
class WebTestDelegate;
class WebTestInterfaces;
@@ -79,7 +80,14 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
delegate_ = delegate;
}
- void SetInterfaces(WebTestInterfaces* interfaces);
+ TestInterfaces* test_interfaces() { return test_interfaces_; }
+ void SetInterfaces(WebTestInterfaces* web_test_interfaces);
+
+ EventSender* event_sender() { return event_sender_.get(); }
+ void SetSendWheelGestures(bool send_gestures);
+
+ void Reset();
+ void BindTo(blink::WebLocalFrame* frame);
void GetScreenOrientationForTesting(blink::WebScreenInfo&);
@@ -95,6 +103,7 @@ class TEST_RUNNER_EXPORT WebTestProxyBase {
blink::WebView* web_view_;
blink::WebWidget* web_widget_;
scoped_ptr<WebViewTestClient> view_test_client_;
+ scoped_ptr<EventSender> event_sender_;
DISALLOW_COPY_AND_ASSIGN(WebTestProxyBase);
};

Powered by Google App Engine
This is Rietveld 408576698