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). |