diff options
Diffstat (limited to 'chrome/test/automation')
-rw-r--r-- | chrome/test/automation/tab_proxy.cc | 14 | ||||
-rw-r--r-- | chrome/test/automation/tab_proxy.h | 8 |
2 files changed, 0 insertions, 22 deletions
diff --git a/chrome/test/automation/tab_proxy.cc b/chrome/test/automation/tab_proxy.cc index fd2afaa..fdce639 100644 --- a/chrome/test/automation/tab_proxy.cc +++ b/chrome/test/automation/tab_proxy.cc @@ -229,20 +229,6 @@ bool TabProxy::NavigateToURLAsyncWithDisposition( return status; } -#if defined(OS_WIN) -// TODO(port): Get rid of HWND. -bool TabProxy::GetHWND(HWND* hwnd) const { - if (!is_valid()) - return false; - if (!hwnd) { - NOTREACHED(); - return false; - } - - return sender_->Send(new AutomationMsg_TabHWND(0, handle_, hwnd)); -} -#endif // defined(OS_WIN) - bool TabProxy::GetProcessID(int* process_id) const { if (!is_valid()) return false; diff --git a/chrome/test/automation/tab_proxy.h b/chrome/test/automation/tab_proxy.h index 452a2ca..9470131 100644 --- a/chrome/test/automation/tab_proxy.h +++ b/chrome/test/automation/tab_proxy.h @@ -197,14 +197,6 @@ class TabProxy : public AutomationResourceProxy, // the last tab. bool Close(bool wait_until_closed) WARN_UNUSED_RESULT; -#if defined(OS_WIN) - // TODO(port): Use portable replacement for HWND. - - // Gets the HWND that corresponds to the content area of this tab. - // Returns true if the call was successful. - bool GetHWND(HWND* hwnd) const WARN_UNUSED_RESULT; -#endif // defined(OS_WIN) - // Gets the process ID that corresponds to the content area of this tab. // Returns true if the call was successful. If the specified tab has no // separate process for rendering its content, the return value is true but |