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

Unified Diff: components/test_runner/event_sender.h

Issue 2036873002: Making EventSender talk to the right WebWidget (for OOPIF support). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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 | « no previous file | components/test_runner/event_sender.cc » ('j') | components/test_runner/event_sender.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/event_sender.h
diff --git a/components/test_runner/event_sender.h b/components/test_runner/event_sender.h
index ec28645bc35a7f4889d26cc7a849580b1ec792f8..b02a25ff7ba78bc9b5bf4e01f0457f849dbd778f 100644
--- a/components/test_runner/event_sender.h
+++ b/components/test_runner/event_sender.h
@@ -26,6 +26,7 @@
namespace blink {
class WebLocalFrame;
class WebView;
+class WebWidget;
struct WebContextMenuData;
}
@@ -36,8 +37,8 @@ class Arguments;
namespace test_runner {
class TestInterfaces;
+class WebFrameTestProxyBase;
class WebTestDelegate;
-class WebTestProxyBase;
// Key event location code introduced in DOM Level 3.
// See also: http://www.w3.org/TR/DOM-Level-3-Events/#events-keyboardevents
@@ -50,7 +51,7 @@ enum KeyLocationCode {
class EventSender {
public:
- explicit EventSender(WebTestProxyBase*);
+ explicit EventSender(WebFrameTestProxyBase*);
virtual ~EventSender();
void Reset();
@@ -249,11 +250,12 @@ class EventSender {
int wm_sys_dead_char_;
#endif
- WebTestProxyBase* web_test_proxy_base_;
+ WebFrameTestProxyBase* web_frame_test_proxy_base_;
TestInterfaces* interfaces();
WebTestDelegate* delegate();
const blink::WebView* view() const;
blink::WebView* view();
+ blink::WebWidget* widget();
bool send_wheel_gestures_;
bool force_layout_on_events_;
@@ -273,7 +275,6 @@ class EventSender {
// Location of the touch point that initiated a gesture.
blink::WebPoint current_gesture_location_;
-
// Mouse-like pointer properties.
struct PointerState {
// Last pressed button (Left/Right/Middle or None).
« no previous file with comments | « no previous file | components/test_runner/event_sender.cc » ('j') | components/test_runner/event_sender.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698