diff options
Diffstat (limited to 'chrome/test/automation/window_proxy.cc')
-rw-r--r-- | chrome/test/automation/window_proxy.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/chrome/test/automation/window_proxy.cc b/chrome/test/automation/window_proxy.cc index 5b08842..1a8f56b 100644 --- a/chrome/test/automation/window_proxy.cc +++ b/chrome/test/automation/window_proxy.cc @@ -23,6 +23,13 @@ bool WindowProxy::SimulateOSClick(const gfx::Point& click, int flags) { new AutomationMsg_WindowClick(0, handle_, click, flags)); } +bool WindowProxy::SimulateOSMouseMove(const gfx::Point& location) { + if (!is_valid()) return false; + + return sender_->Send( + new AutomationMsg_WindowMouseMove(0, handle_, location)); +} + bool WindowProxy::GetWindowTitle(string16* text) { if (!is_valid()) return false; |